Quarterly report pursuant to Section 13 or 15(d)

Stock-Based Compensation - Narrative (Details)

v3.22.2
Stock-Based Compensation - Narrative (Details)
3 Months Ended 6 Months Ended
Jun. 30, 2022
USD ($)
$ / shares
shares
Jun. 30, 2021
USD ($)
Jun. 30, 2022
USD ($)
purchase_period
$ / shares
shares
Jun. 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     309,226 0
Compensation expense recognized | $ $ 26,653,000 $ 43,463,000 $ 65,872,000 $ 121,492,000
Warrants        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Compensation expense recognized | $ $ 1,100,000 $ 1,000,000.0 $ 2,100,000 $ 2,000,000.0
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