v3.22.2.2
Stock-Based Compensation - Narrative (Details)
1 Months Ended 3 Months Ended 9 Months Ended
Sep. 29, 2021
shares
Jan. 31, 2022
shares
Aug. 31, 2021
USD ($)
shares
Jun. 30, 2021
USD ($)
performanceCondition
shares
Sep. 30, 2022
USD ($)
shares
Sep. 30, 2021
USD ($)
Sep. 30, 2022
USD ($)
shares
Sep. 30, 2021
USD ($)
Dec. 31, 2021
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Total stock-based compensation expense | $         $ 24,301,000 $ 64,332,000 $ 78,209,000 $ 76,002,000  
Direct Listing                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Total stock-based compensation expense | $           25,300,000   25,300,000  
Tender Offer                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Total stock-based compensation expense | $               9,200,000  
Series A common stock                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Shares available for future issuance         146,067,078   146,067,078    
Series B common stock                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Shares available for future issuance         27,523,128   27,523,128    
2021 Plan                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Annual increase in shares authorized, percent     5.00%            
Number of additional shares authorized   5,735,463              
2021 Plan | Series A common stock                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Number of shares authorized     11,076,515            
The Plans | Series A common stock                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Options approved for grant (in shares)         16,809,675   16,809,675   11,413,848
The Founders Grant                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Total stock-based compensation expense | $         $ 18,700,000 $ 28,800,000 $ 58,100,000 $ 28,800,000  
Stock options or restricted stock units (RSUs) | 2021 Incentive Award Plan                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Award vesting period     4 years            
Employee Stock Purchase Plan                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Number of shares authorized     2,215,303   3,362,395   3,362,395    
Number of additional shares authorized   1,147,092 16,614,772            
Shares available for future issuance         3,244,066   3,244,066    
Shares purchased under ESPP (in shares)         0   118,329    
Total stock-based compensation expense | $         $ 600,000   $ 2,100,000    
Contributions withheld from employees | $         500,000   2,100,000    
Cost not yet recognized, outstanding awards | $         3,600,000   $ 3,600,000    
Non-vested award, cost not yet recognized, period for recognition             9 months 18 days    
Stock options | The Plans                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Cost not yet recognized, outstanding awards | $         7,100,000   $ 7,100,000    
Non-vested award, cost not yet recognized, period for recognition             1 year    
Risk free interest rate, coupon rate assumption used             0.00%    
Expected dividend yield           0.00% 0.00% 0.00%  
Award expiration period             10 years    
Restricted stock units (RSUs)                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Units vested (in shares)             474,747    
Granted (in shares)             545,877    
Restricted stock units (RSUs) | 2021 Plan                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Total stock-based compensation expense | $         3,800,000   $ 14,600,000    
Units vested (in shares) 936,646                
Restricted stock units (RSUs) | 2021 Incentive Award Plan | Series A or Series B common stock                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Number of shares receivable per share based payments award (in shares)             1    
Restricted stock units (RSUs) | The Plans                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Total stock-based compensation expense | $     $ 2,300,000 $ 1,800,000          
Non-vested award, cost not yet recognized, period for recognition             1 year 4 months 24 days    
Cost not yet recognized, outstanding awards | $         56,800,000   $ 56,800,000    
Restricted stock units (RSUs) | The Founders Grant                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Award vesting period       5 years          
Granted (in shares)       1,884,724          
Grant date fair value | $             66,900,000    
Performance stock units (PSUs)                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Award expiration period       10 years          
Number of performance conditions | performanceCondition       2          
Terms of award, stock price hurdle period       10 years          
Performance stock units (PSUs) | Monte Carlo simulation                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Grant date fair value | $             $ 128,800,000    
Performance stock units (PSUs) | Series B common stock                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Number of shares receivable per share based payments award (in shares)       1          
Performance stock units (PSUs) | The Plans                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Non-vested award, cost not yet recognized, period for recognition             10 months 24 days    
Cost not yet recognized, outstanding awards | $         $ 58,400,000   $ 58,400,000    
Performance stock units (PSUs) | The Founders Grant                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Granted (in shares)       4,397,688