v3.21.1
Stock-Based Compensation - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
May 31, 2019
purchasePeriod
shares
Sep. 30, 2018
installment
tranche
Apr. 30, 2021
USD ($)
changeInContribution
$ / shares
shares
Apr. 30, 2020
USD ($)
shares
Jan. 31, 2021
USD ($)
shares
Stock Based Compensation          
Options granted (in shares) | shares     93,000 0  
Options unvested (in shares) | shares     409,281    
Aggregate intrinsic value of options vested and exercisable     $ 655,900   $ 711,400
Weighted-average remaining contractual term of options vested and exercisable (in years)     6 years 3 months 18 days   6 years 4 months 24 days
Weighted-average grant date fair value of options granted (in usd per share) | $ / shares     $ 180.08    
Total intrinsic value of options exercised     $ 154,400 $ 111,200  
Aggregate intrinsic value of stock options outstanding     $ 1,200,000   $ 1,400,000
Weighted-average remaining contractual term of stock options outstanding (in years)     6 years 9 months 18 days   7 years
Total unrecognized stock-based compensation expenses related to unvested options     $ 30,600   $ 24,300
Number of shares of common stock related to early exercised stock options subject to repurchase (in shares) | shares     458,280   548,028
Value of common stock related to early exercised stock options subject to repurchase     $ 4,600   $ 5,400
Employee payroll contributions accrued     $ 79,099   71,907
Common Stock          
Stock Based Compensation          
Issuance of common stock upon exercise of options (in shares) | shares     0 0  
2019 Plan | Class A common stock          
Stock Based Compensation          
Maximum number of shares of common stock that may be issued (in shares) | shares 8,750,000        
Threshold percentage of outstanding shares 2.00%        
Service-based vesting          
Stock Based Compensation          
Number of vesting schedules | tranche   3      
Employee Stock Purchase Plan          
Stock Based Compensation          
Threshold percentage of outstanding shares 1.00%        
Offering period 24 months        
Number of purchase periods | purchasePeriod 4        
Duration of purchase periods 6 months        
Percentage of eligible compensation 15.00%        
Maximum number of shares each participant can purchase during purchase period (in shares) | shares 2,500        
Purchase price, threshold percentage of fair market value 85.00%        
Number of increases in contribution | changeInContribution     1    
Plan modification, incremental cost     $ 2,500    
Employee payroll contributions accrued     $ 24,300   $ 11,000
Employee Stock Purchase Plan | Class A common stock          
Stock Based Compensation          
Maximum number of shares of common stock that may be issued (in shares) | shares 3,500,000        
Stock options          
Stock Based Compensation          
Expected to be amortized over weighted-average vesting period (in years)     1 year 7 months 6 days   1 year 8 months 12 days
RSUs          
Stock Based Compensation          
Expected to be amortized over weighted-average vesting period (in years)     2 years 6 months    
Total unrecognized stock-based compensation expenses related to unvested RSUs     $ 496,400    
PSUs          
Stock Based Compensation          
Expected to be amortized over weighted-average vesting period (in years)     1 year 8 months 12 days    
Total unrecognized stock-based compensation expenses related to unvested RSUs     $ 89,200    
Vesting one | Service-based vesting          
Stock Based Compensation          
Vesting percentage     25.00%    
Number of quarterly installments | installment   12      
Vesting two | Service-based vesting          
Stock Based Compensation          
Number of quarterly installments | installment   16      
Vesting three | Service-based vesting          
Stock Based Compensation          
Number of quarterly installments | installment   8