Annual report pursuant to Section 13 and 15(d)

Stock-based Compensation - Additional Information (Details)

v3.22.4
Stock-based Compensation - Additional Information (Details)
1 Months Ended 12 Months Ended
Jul. 31, 2021
purchase_period
shares
Jan. 01, 2023
USD ($)
$ / shares
shares
Jan. 02, 2022
USD ($)
$ / shares
shares
Dec. 31, 2020
USD ($)
$ / shares
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Common stock options available for future grants (in shares)   43,870,726    
Stock-based compensation capitalized | $   $ 1,800,000    
Unrecognized tax benefit | $   $ 0 $ 0 $ 0
Weighted average grant date fair value (in dollars per share) | $ / shares   $ 8.84 $ 4.43 $ 0.59
Vested fair value of stock options | $   $ 12,400,000 $ 6,600,000 $ 300,000
Equity Plan        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Lesser rate 4.00%      
Equity Awards        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Common stock options available for future grants (in shares)   22,972,236    
Accrued bonuses to be settled in equity awards | $   $ 1,500,000    
Unrecognized stock-based compensation expenses related to nonvested equity awards | $   $ 104,100,000    
Weighted average period of recognition for unrecognized stock-based compensation related to nonvested equity awards   3 years 9 months 18 days    
Equity Awards | Equity Plan | Common Stock        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Common stock options available for future grants (in shares) 16,850,000      
Employee Stock Purchase Plan        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Common stock options available for future grants (in shares) 5,625,000 8,493,050    
Lesser rate 1.00%      
Registrants common stock (in shares) 2,000,000      
Discount rate 15.00%      
Base compensation rate 15.00%      
ESPP offering period 18 months      
Number of purchase periods during offering period | purchase_period 3      
Term of purchase period 6 months      
Period of new offering period 6 months      
Fair market rate 85.00%      
Unrecognized stock-based compensation expenses related to nonvested equity awards | $   $ 1,100,000    
Weighted average period of recognition for unrecognized stock-based compensation related to nonvested equity awards   1 year 4 months 24 days    
Employee Stock Purchase Plan | Common Stock        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Weighted average grant date fair value (in dollars per share) | $ / shares   $ 11.22    
Number of shares repurchased (in shares)   229,249    
Weighted-average purchase price per share (in dollars per share) | $ / shares   $ 8.29    
Stock options        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Common stock options available for future grants (in shares)   5,034,282    
Contractual term   10 years    
Cancellation period   3 months    
Repurchase right lapses period   90 days    
Shares remained subject to right of repurchase (in shares)   2,925,538 5,086,572  
Early exercised liability | $   $ 200,000 $ 300,000  
Stock options | Minimum        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Vesting period   4 years    
Stock options | Maximum        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Vesting period   5 years    
RSUs        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Vested fair value of stock options | $   $ 10,300,000 $ 1,800,000  
Number of common stock shares upon vesting (in shares)   1    
Number of shares withheld (in shares)   48,739    
Payroll tax payments for shares withheld upon vesting of RSUs | $   $ 600,000    
RSUs | Minimum        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Vesting period   4 years    
RSUs | Maximum        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Vesting period   5 years    
PRSUs        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Vesting period   2 years