Annual report pursuant to Section 13 and 15(d)

Stock-Based Compensation - Additional Information (Details)

v3.22.1
Stock-Based Compensation - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2021
Feb. 28, 2021
Jun. 30, 2021
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Jun. 25, 2021
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]              
Number of Shares, Granted       3,957,566      
Share-based compensation arrangement by share-based payment award, options, vested in period, fair value       $ 328,839 $ 14,169 $ 8,499  
Outstanding, weighted average remaining contractual term       8 months 26 days 4 years 10 months 2 days    
Share based compensation arrangement by share based payment award options total exercises intrinsic value       $ 99,844 $ 25 $ 439  
Weighted average fair value of time vesting options granted       $ 5.12 $ 0.68 $ 1.10  
Unvested Restricted Stock Shares, Granted       1,755,045      
Restricted stock units vested upon grant       $ 165      
Stock based compensation expense estimated forfeiture rate       6.96%      
Stock based compensation expense       $ 216,579 $ 1,493 $ 2,365  
Incremental stock-based compensation expense $ 75,217   $ 117,708        
Time Vesting Options              
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]              
Number of Shares, Granted       3,209,630      
Share based compensation arrangement by share based payment award options total grant date fair value       $ 16,414      
Weighted average fair value of time vesting options granted       $ 5.12      
Stock based compensation expense       $ 5,662 1,493 2,365  
Unrecognized compensation expense, total       $ 12,234      
Weighted-average period for recognition of compensation expense related to unvested awards       3 years 4 months 20 days      
Performance Vesting Options              
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]              
Number of Shares, Granted       747,936      
Share based compensation arrangement by share based payment award options total grant date fair value       $ 3,895      
Weighted average fair value of time vesting options granted       $ 2.26      
Stock based compensation expense       $ 201,985  
Share-based compensation payment award, accelerated vesting, shares   7,874,304          
Restricted Stock Units              
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]              
Outstanding, weighted average remaining contractual term       9 years 6 months 3 days      
Stock based compensation expense       $ 6,585  
Unrecognized compensation expense, total       $ 16,403      
Weighted-average period for recognition of compensation expense related to unvested awards       3 years 3 months 7 days      
Stock Options              
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]              
Outstanding, weighted average remaining contractual term       4 years 8 months 23 days 4 years 10 months 20 days    
Initial Public Offering | Performance Vesting Options              
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]              
Stock based compensation expense       $ 0      
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
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      
2021 Plan [Member] | Initial Public Offering              
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]              
Number of Shares, Granted       3,726,305      
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      
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      
Unrecognized compensation expense, total       $ 624      
Weighted-average period for recognition of compensation expense related to unvested awards       4 months 13 days