Annual report pursuant to Section 13 and 15(d)

Stock-Based Compensation - Additional Information (Details)

v3.22.1
Stock-Based Compensation - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Jul. 01, 2021
USD ($)
Jun. 25, 2021
USD ($)
shares
Jun. 22, 2021
USD ($)
Jun. 07, 2021
shares
May 20, 2021
period
shares
Jan. 28, 2021
USD ($)
$ / shares
shares
Mar. 18, 2019
USD ($)
tranche
$ / shares
shares
Jun. 30, 2021
USD ($)
$ / shares
May 31, 2021
shares
Nov. 30, 2020
USD ($)
$ / shares
shares
Oct. 31, 2020
USD ($)
$ / shares
shares
Jan. 31, 2022
USD ($)
$ / shares
shares
Jan. 31, 2022
USD ($)
$ / shares
shares
Jan. 31, 2021
USD ($)
$ / shares
Jan. 31, 2020
USD ($)
$ / shares
May 31, 2020
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Percentage of outstanding stock used to calculate the increase in shares available for issuance                 5.00%              
Shares available for grant (in shares)                       38,857,443 38,857,443      
Stock-based compensation, net of amounts capitalized | $                         $ 50,131 $ 45,069 $ 10,166  
Granted (in shares)                         10,641,000      
Share price (in dollars per share) | $ / shares                       $ 11.25 $ 11.25 $ 9.07    
Grant date fair value of options vested | $                         $ 29,300 $ 14,900 7,900  
Accrued ESPP employee contributions | $                       $ 2,300 2,300      
Net proceeds from offering | $ $ 276,000                              
Stock-based compensation, net of amounts capitalized | $                         50,827 45,069 10,166  
Secondary Sale Of Stock                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Number of shares issued and sold (in shares)                     9,707,427          
Offering price (in dollars per share) | $ / shares                     $ 9.25          
Net proceeds from offering | $                     $ 89,800          
Tender Offer Transaction                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Offering price (in dollars per share) | $ / shares                   $ 9.25            
Tender Offer Transaction | Convertible Preferred Stock                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Shares issued                   5,974,776            
Preferred stock dividends | $                   $ 600            
Tender Offer Transaction | Common Stock                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Shares issued                   3,303,891            
Equity classified awards                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Stock-based compensation, net of amounts capitalized | $                         $ 49,827 44,159 $ 10,166  
Equity classified awards | Secondary Sale Of Stock                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Stock-based compensation, net of amounts capitalized | $                     $ 16,300     16,300    
Equity classified awards | Tender Offer Transaction                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Stock-based compensation, net of amounts capitalized | $                   $ 5,200       $ 5,200    
Chief Executive Officer                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Granted (in shares)             9,274,528                  
Chief Executive Officer | Tranche One                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Granted (in shares)             2,318,632                  
Chief Executive Officer | Tranche Two through Four                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Granted (in shares)             6,955,896                  
Chief Executive Officer | Tranche Two                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Granted (in shares)             2,318,632                  
Vested (in shares)   2,318,632                            
Chief Executive Officer | Tranche Three                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Granted (in shares)             2,318,632                  
Chief Executive Officer | Tranche Four                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Granted (in shares)             2,318,632                  
Performance share units                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Granted (in shares)           3,100,000                    
Award requisite service period           5 years                    
Equity volatility           40.00%                    
Risk-free rate           0.42%                    
Fair value of common stock, minimum (in dollars per share) | $ / shares           $ 9.07                    
Expected term (in years)           5 years                    
Grant date fair value | $           $ 3,500                    
Stock-based compensation, net of amounts capitalized | $   $ 400                            
Performance share units | Minimum                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Granted (in shares)                         0      
Weighted-average trading price of common stock (in dollars per share) | $ / shares           $ 30                    
Performance share units | Maximum                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Granted (in shares)                         3,100,000      
Weighted-average trading price of common stock (in dollars per share) | $ / shares           $ 100                    
Options to purchase common stock                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Fair value of common stock, minimum (in dollars per share) | $ / shares                         $ 10.96 $ 4.93 $ 4.25  
Expected term (in years)                         6 years 6 years 1 month 6 days 6 years  
Unrecognized expense | $                       44,126 $ 44,126      
Options to purchase common stock | Chief Executive Officer                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Equity volatility             44.00%                  
Risk-free rate             2.60%                  
Fair value of common stock, minimum (in dollars per share) | $ / shares             $ 4.25                  
Expected term (in years)             10 years                  
Grant date fair value | $             $ 1,700                  
Number of tranches | tranche             4                  
Options to purchase common stock | Chief Executive Officer | Tranche One                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Award vesting period             3 years                  
Options to purchase common stock | Chief Executive Officer | Tranche Two                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Stock-based compensation, net of amounts capitalized | $   $ 5,800                            
Restricted stock units                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Granted (in shares)           300,000             1,443,000      
Award requisite service period           5 years                    
Stock-based compensation, net of amounts capitalized | $     $ 600                          
Unrecognized expense | $                       $ 12,303 $ 12,303      
Weighted average grant date fair value (in dollars per share) | $ / shares                       $ 14.67 $ 14.67 $ 7.26    
Restricted stock units | Tranche One                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Award requisite service period           1 year                    
Award vesting percentage           20.00%                    
Restricted stock units | Tranche Two                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Award requisite service period           4 years                    
ESPP                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Percentage of outstanding stock used to calculate the increase in shares available for issuance         1.00%                      
Fair value of common stock, minimum (in dollars per share) | $ / shares                         $ 14.27      
Stock-based compensation, net of amounts capitalized | $                       $ 6,100        
Unrecognized expense | $                       $ 9,235 $ 9,235      
Shares authorized for issuance (in shares)         5,100,000                      
Shares available for issuance (in shares)                         2,562,692      
Number of additional shares allowable under the plan         15,300,000                      
Maximum amount of payroll deduction         15.00%                      
Maximum number of shares per employee         5,000                      
Length of purchase period         6 months                      
Purchase price of shares         85.00%                      
Consecutive offering period         12 months             12 months        
Number of purchase periods | period         2                      
Incremental charges due to modification | $                       $ 3,400        
ESPP | Minimum                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Expected term (in years)                         6 months      
ESPP | Maximum                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Expected term (in years)                         1 year      
Deferred stock compensation plan                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Equity volatility               48.20%                
Risk-free rate               0.17%                
Fair value of common stock, minimum (in dollars per share) | $ / shares               $ 4.93                
Expected term (in years)               1 year                
Stock-based compensation, net of amounts capitalized | $                         $ 3,200      
Maximum amount of payroll deduction                               25.00%
Minimum amount of payroll deduction                               10.00%
Put right | $               $ 1,900                
Weighted average grant date fair value (in dollars per share) | $ / shares               $ 5.86                
Shares issued       1,769,945                        
A                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Number of shares authorized                 80,401,680              
Number of new shares authorized                 25,480,000