v3.22.0.1
Stock-Based Compensation - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
May 31, 2019
purchasePeriod
shares
Sep. 30, 2018
installment
tranche
Jan. 31, 2022
USD ($)
installment
changeInContribution
$ / shares
shares
Jan. 31, 2021
USD ($)
$ / shares
shares
Jan. 31, 2020
USD ($)
$ / shares
May 31, 2021
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Maximum number of additional shares of common stock that may be issued (in shares) | shares           5,000,000
Accrued payroll and benefits     $ 104,563 $ 71,907    
Shares of common stock issuable from stock options            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Options exercisable (in shares) | shares     362,406      
Options, aggregate intrinsic value     $ 480,500 $ 711,400 $ 469,600  
Options exercisable, weighted average contractual term     5 years 8 months 12 days 6 years 4 months 24 days 6 years 8 months 12 days  
Weighted average grant date fair value (in usd per share) | $ / shares     $ 180.08 $ 66.31 $ 9.51  
Options exercised, intrinsic value     $ 570,900 $ 847,500 $ 407,900  
Options outstanding, intrinsic value     $ 678,000 $ 1,400,000 $ 816,300  
Options outstanding, weighted average remaining contractual term     6 years 1 month 6 days 7 years 7 years 4 months 24 days  
Total unrecognized stock-based compensation expense, unvested options     $ 16,600 $ 24,300    
Expected amortization period, weighted average vesting period     1 year 4 months 24 days 1 year 8 months 12 days    
Common stock shares issued, early exercised stock options | shares     0 0    
Number of shares of common stock related to early exercised stock options subject to repurchase (in shares) | shares     197,994 548,028    
Value of common stock related to early exercised stock options subject to repurchase     $ 2,200 $ 5,400    
Shares of common stock issuable from stock options | Minimum            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Risk-free interest rate     0.60% 0.20% 2.00%  
Expected stock price volatility     36.10% 35.80% 37.70%  
Shares of common stock issuable from stock options | Maximum            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Risk-free interest rate     1.00% 0.40% 2.40%  
Expected stock price volatility     37.10% 37.30% 37.90%  
RSUs            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Number of vesting schedules | tranche   4        
RSUs | Tranche One            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Number of quarterly installments | installment   12        
Vesting percentage   10.00% 25.00%      
RSUs | Tranche Two            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Number of quarterly installments | installment   16        
Vesting percentage   15.00%        
RSUs | Tranche Three            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Number of quarterly installments | installment   8        
Vesting percentage   25.00%        
RSUs | Tranche Four            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Vesting percentage   50.00%        
Restricted Stock Units (RSUs)            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Expected amortization period, weighted average vesting period     2 years 3 months 18 days 2 years 7 months 6 days    
Unrecognized stock based compensation expense, unvested RSUs     $ 702,300 $ 393,900    
PSUs            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Expected amortization period, weighted average vesting period     1 year 2 months 12 days 1 year 3 months 18 days    
Unrecognized stock based compensation expense, unvested RSUs     $ 42,900 $ 24,800    
Special Performance-based Stock Units            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Expected amortization period, weighted average vesting period     2 years 9 months 18 days      
Number of quarterly installments | installment     4      
Unrecognized stock based compensation expense, unvested RSUs     $ 118,400      
Historical volatility rate, weight     50.00%      
Historical volatility rate, weight     50.00%      
Special Performance-based Stock Units | Executive Officer            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Granted (in shares) | shares     655,000      
Special Performance-based Stock Units | Minimum            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Risk-free interest rate     0.85%      
Expected stock price volatility     54.89%      
Look back period     2 years 2 months 15 days      
Special Performance-based Stock Units | Maximum            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Risk-free interest rate     1.51%      
Expected stock price volatility     55.36%      
Look back period     2 years 6 months 29 days      
Special Performance-based Stock Units | Tranche One            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Vesting percentage     50.00%      
Special Performance-based Stock Units | Tranche Two            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Vesting percentage     12.50%      
Special Performance-based Stock Units | Tranche Three            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Vesting percentage     12.50%      
Special Performance-based Stock Units | Tranche Four            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Vesting percentage     12.50%      
Special Performance-based Stock Units | Tranche Five            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Vesting percentage     12.50%      
Share purchase rights under the employee stock purchase plan            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Threshold percentage, outstanding shares 100.00%          
Number of increases in contribution | changeInContribution     1      
Equity Incentive Plan 2019 | Common Class A            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Shares authorized (in shares) | shares 8,750,000          
Threshold percentage, outstanding shares 2.00%          
Employee Stock Purchase Plan            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Threshold percentage, outstanding shares 1.00%          
ESPP, consecutive offering period 24 months          
ESPP, number of purchase periods | purchasePeriod 4          
ESPP, purchase period duration 6 months          
ESPP, percentage of eligible compensation 15.00%          
Maximum number of shares purchasable (in shares) | shares 2,500          
Purchase price of common stock, percentage 85.00%          
Plan modification, incremental cost     $ 6,200 3,500    
Accrued payroll and benefits     $ 14,800 $ 11,000    
Employee Stock Purchase Plan | Minimum            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Risk-free interest rate     0.00% 0.10% 1.60%  
Expected stock price volatility     33.00% 30.10% 30.10%  
Employee Stock Purchase Plan | Maximum            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Risk-free interest rate     1.90% 2.00% 2.20%  
Expected stock price volatility     55.90% 54.30% 35.70%  
Employee Stock Purchase Plan | Common Class A            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Shares authorized (in shares) | shares 3,500,000