v3.21.2
Stock-Based Compensation - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
May 31, 2019
purchasePeriod
shares
Sep. 30, 2018
installment
tranche
Jul. 31, 2021
USD ($)
shares
Jul. 31, 2020
USD ($)
$ / shares
shares
Jul. 31, 2021
USD ($)
changeInContribution
$ / shares
shares
Jul. 31, 2020
USD ($)
$ / shares
Jan. 31, 2021
USD ($)
shares
May 31, 2021
shares
Stock Based Compensation                
Maximum number of additional shares of common stock that may be issued (in shares) | shares               5,000,000
Options unvested (in shares) | shares     393,656   393,656      
Aggregate intrinsic value of options vested and exercisable     $ 695,400   $ 695,400   $ 711,400  
Weighted-average remaining contractual term of options vested and exercisable (in years)         6 years 2 months 12 days   6 years 4 months 24 days  
Options granted (in shares) | shares     0   93,000      
Weighted-average grant date fair value of options granted (in usd per share) | $ / shares       $ 32.91 $ 180.08 $ 32.91    
Total intrinsic value of options exercised     $ 234,000 $ 242,800 $ 388,400 $ 354,000    
Aggregate intrinsic value of stock options outstanding     1,200,000   $ 1,200,000   $ 1,400,000  
Weighted-average remaining contractual term of stock options outstanding (in years)         6 years 7 months 6 days   7 years  
Total unrecognized stock-based compensation expenses related to unvested options     $ 23,000   $ 23,000   $ 24,300  
Issuance of common stock upon exercise of options (in shares) | shares     0 0        
Number of shares of common stock related to early exercised stock options subject to repurchase (in shares) | shares     368,532   368,532   548,028  
Value of common stock related to early exercised stock options subject to repurchase     $ 3,800   $ 3,800   $ 5,400  
Employee payroll contributions accrued     95,462   $ 95,462   $ 71,907  
Stock options                
Stock Based Compensation                
Expected to be amortized over weighted-average vesting period (in years)         1 year 6 months   1 year 8 months 12 days  
Service-based vesting                
Stock Based Compensation                
Number of vesting schedules | tranche   4            
Service-based vesting | Vesting one                
Stock Based Compensation                
Vesting percentage   10.00%     25.00%      
Number of quarterly installments | installment   12            
Service-based vesting | Vesting two                
Stock Based Compensation                
Vesting percentage   15.00%            
Number of quarterly installments | installment   16            
Service-based vesting | Vesting three                
Stock Based Compensation                
Vesting percentage   25.00%            
Number of quarterly installments | installment   8            
Service-based vesting | Vesting four                
Stock Based Compensation                
Vesting percentage   50.00%            
Number of quarterly installments | installment   16            
RSUs                
Stock Based Compensation                
Expected to be amortized over weighted-average vesting period (in years)         2 years 4 months 24 days      
Total unrecognized stock-based compensation expenses related to unvested RSUs/PSUs     557,700   $ 557,700      
PSUs                
Stock Based Compensation                
Expected to be amortized over weighted-average vesting period (in years)         1 year 6 months      
Total unrecognized stock-based compensation expenses related to unvested RSUs/PSUs     71,600   $ 71,600      
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     1,800 $ 800 $ 4,300 $ 800    
Employee payroll contributions accrued     $ 8,700   $ 8,700   $ 11,000  
Class A common stock | Employee Stock Purchase Plan                
Stock Based Compensation                
Maximum number of shares of common stock that may be issued (in shares) | shares 3,500,000              
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%