Quarterly report pursuant to Section 13 or 15(d)

Stock-Based Compensation - Additional Information (Details)

v3.24.2.u1
Stock-Based Compensation - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Feb. 12, 2024
Jan. 01, 2023
shares
Aug. 10, 2021
Nov. 30, 2016
Jun. 30, 2024
USD ($)
$ / shares
Jun. 30, 2023
USD ($)
Jun. 30, 2024
USD ($)
$ / shares
shares
Jun. 30, 2023
USD ($)
Dec. 31, 2023
USD ($)
$ / shares
shares
Feb. 27, 2023
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Share-based payment arrangement, expense | $         $ 28,370 $ 25,222 $ 55,387 $ 42,480    
Earnout Shares Liability                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Warrants and rights outstanding, term     10 years              
Restricted Stock Units                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Fair value | $             $ 60,900 $ 38,400    
Performance Shares                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Target bonus threshold                   30.00%
RSU stock awards share conversion ratio 1.25                  
Vesting percentage of target bonus 100.00%                  
Performance Shares | Maximum                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Vesting percentage of target bonus 125.00%                  
Performance Shares | Minimum                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Vesting percentage of target bonus 45.00%                  
Employee Stock                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Purchase price of common stock expressed as a percentage of its fair value     85.00%              
Additional shares authorized (in shares)   3,491,310                
Options to purchase common stock and unvested restricted stock awards                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Shares vesting period             6 years      
Repurchase price per share (in dollars per share) | $ / shares         $ 0.07   $ 0.07   $ 0.09  
Options to purchase common stock and unvested restricted stock awards | Maximum                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Number of shares to be repurchased (in shares)             1,512,364   1,988,511  
Other non-current liabilities | $         $ 100   $ 100   $ 200  
Other Stock Based Awards | Maximum                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Shares subject to vesting conditions (in shares)             1,337,990   1,561,599  
Other Stock Based Awards | Series C Preferred Stock                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Payments for advisory services shares (in shares)             2,677,200      
2016 Stock Option and Grant Plan | Incentive Stock Options                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Shares vesting period       6 years            
Award cliff off period       1 year            
Contractual term of options       5 years            
2016 Stock Option and Grant Plan | Restricted Stock Units                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Shares vesting period       6 years            
2016 Stock Option and Grant Plan | Grantee Owns Ten Percent of Voting Rights | Incentive Stock Options                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Percentage of shareholding by grantee       0.10            
Percentage of stockholders on exercise price of option granted       0.10            
Purchase price of common stock expressed as a percentage of its fair value       110.00%            
2021 Equity Incentive Plan                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Percentage of share outstanding     0.50%       4.00%      
Additional shares authorized (in shares)   27,930,481                
2021 Equity Incentive Plan | Restricted Stock Units                    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                    
Shares vesting period             4 years