Quarterly report pursuant to Section 13 or 15(d)

Stock-Based Compensation - Additional Information (Details)

v3.22.2
Stock-Based Compensation - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Jun. 30, 2021
Feb. 28, 2021
Jun. 30, 2022
Mar. 31, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Jan. 31, 2022
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                
Number of shares, Granted           412,703    
Share-based compensation arrangement by share-based payment award, options, vested in period, fair value           $ 19,420    
Stock based compensation expense     $ 5,979   $ 203,231 $ 11,498 $ 203,541  
Incremental stock-based compensation expense $ 75,217       117,708      
Stock based compensation expense estimated forfeiture rate.           6.96%    
Unvested Restricted Stock Shares, Granted           1,126,748    
Time Vesting Options                
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                
Number of shares, Granted           412,703    
Stock based compensation expense     1,947   964 $ 3,867 1,274  
Unrecognized compensation expense, total     10,460     10,460    
Share based compensation arrangement by share based payment award options total grant date fair value           $ 2,018    
Weighted-average period for recognition of compensation expense related to unvested awards           3 years 4 months 17 days    
Weighted average non vested exercise price per share, granted           $ 4.89    
Performance Vesting Options                
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                
Number of shares, Granted           0    
Stock based compensation expense     0   201,985 $ 0 201,985  
Share-based compensation payment award, accelerated vesting, shares   7,874,304            
Weighted average non vested exercise price per share, granted           $ 0    
Performance Vesting Options | Initial Public Offering                
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                
Stock based compensation expense           $ 0    
Restricted Stock Units RSU                
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                
Outstanding, weighted average remaining contractual term       9 years 5 months 23 days        
Stock based compensation expense     3,692   $ 282 6,918 $ 282  
Unrecognized compensation expense, total     $ 24,610     24,610    
Restricted stock units vested upon grant           4,976    
Share based compensation arrangement by share based payment award options total grant date fair value           $ 13,835    
Weighted-average period for recognition of compensation expense related to unvested awards           2 years 11 months 19 days    
Unvested Restricted Stock Shares, Granted           1,126,748    
Stock Options                
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                
Outstanding, weighted average remaining contractual term           4 years 4 months 17 days    
2021 Plan [Member]                
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                
Issuance of common stock pursuant to initial public offering , Shares     29,800,000     29,800,000    
2021 Plan [Member] | Initial Public Offering                
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                
Number of shares, Granted           3,726,305    
2014 Plan [Member]                
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                
Share-based Compensation Arrangement by Share-based Payment Award, Plan Modification, Description and Terms           All stock options granted under the 2014 Plan are equity-classified and have a contractual life of ten years. Under the 2014 Plan, 60% of the shares in a grant contain service-based vesting conditions and vest ratably over a five-year period and 40% of the shares in a grant contain performance-based vesting conditions (“Performance Vesting Options”). The condition for the Performance Vesting Options is a change in control or an initial public offering, where (i) 50% of the Performance Vesting Options vest and become exercisable if the Principal Stockholders receive the Target Proceeds at the Measurement Date and (ii) the remaining 50% of the Performance Vesting Options vest and become exercisable if the Principal Stockholders receive the Maximum Amount at the Measurement Date. Principal Stockholders is defined in the 2014 Plan as    
Issuance of common stock pursuant to initial public offering , Shares     256,431     256,431    
Two Thousand And Twenty One Employee Stock Purchase Plan                
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                
Number of shares reserved for future issuance     5,000,000     5,000,000   6,057,993
Unrecognized compensation expense, total     $ 549     $ 549    
Weighted-average period for recognition of compensation expense related to unvested awards           4 months 17 days    
Share based compensation arrangement by share based payment award description           The 2021 ESPP provides that the number of shares reserved and available for issuance under the 2021 ESPP will automatically increase on January 1 of each calendar year from January 1, 2022 through January 1, 2031 by an amount equal to the lesser of (i) 0.5% of the outstanding number of shares of common stock on the immediately preceding December 31