Quarterly report pursuant to Section 13 or 15(d)

Stock-Based Compensation - Narrative (Details)

v3.22.2.2
Stock-Based Compensation - Narrative (Details)
3 Months Ended 9 Months Ended
Sep. 30, 2022
USD ($)
$ / shares
shares
Sep. 30, 2021
USD ($)
Sep. 30, 2022
USD ($)
purchase_period
$ / shares
shares
Sep. 30, 2021
USD ($)
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Warrant, number purchased (in shares) | shares 846,943   846,943  
Warrant, exercise price (in dollars per share) | $ / shares $ 0.01   $ 0.01  
Number of warrants exercised (in shares) | shares     330,329 0
Compensation expense recognized | $ $ 22,830,000 $ 39,262,000 $ 88,702,000 $ 160,754,000
Warrants        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Compensation expense recognized | $ $ 1,100,000 $ 3,000,000.0 $ 3,200,000 $ 8,100,000
Employee Stock Purchase Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Share-based compensation arrangement by share-based payment award, offering period     24 months  
Number of purchase periods | purchase_period     4  
Share-based compensation arrangement by share-based payment award, purchase period     6 months  
Maximum percentage in payroll deductions to acquire shares of common stock 15.00%   15.00%  
Maximum deductible fair market value of shares available for employee to purchase per calendar year | $     $ 25,000  
Maximum number of shares available for employee to purchase per offering period (in shares) | shares     10,000