Quarterly report pursuant to Section 13 or 15(d)

Stock-Based Compensation - Additional Information (Details)

v3.23.2
Stock-Based Compensation - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Feb. 27, 2023
Jan. 01, 2023
shares
Aug. 10, 2021
Nov. 30, 2016
Jun. 30, 2023
USD ($)
$ / shares
Jun. 30, 2022
USD ($)
Jun. 30, 2023
USD ($)
$ / shares
shares
Jun. 30, 2022
USD ($)
Dec. 31, 2022
USD ($)
$ / shares
shares
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Share-based payment arrangement, expense | $         $ 25,222 $ 19,433 $ 42,480 $ 38,862  
Earnout Shares                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Warrants and rights outstanding, term     10 years            
Performance Shares                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Target bonus threshold 30.00%                
Increase in target amounts one-third                
Share-based payment arrangement, expense | $         $ 11,300 $ 7,500 $ 14,600 $ 14,800  
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,113,014              
Issuance of common stock under the Employee Stock Purchase Plan (in shares)             1,047,001    
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.10   $ 0.10   $ 0.10
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)             2,779,501   3,923,509
Other non-current liabilities | $         $ 300   $ 300   $ 400
Other Stock Based Awards | Maximum                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Shares subject to vesting conditions (in shares)             1,785,208   2,007,595
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 | 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)   24,904,113              
Share-based payment arrangement, expense | $         $ 800   $ 1,700