v3.22.2.2
Stock-Based Compensation - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended 12 Months Ended 24 Months Ended
May 31, 2019
purchase_period
shares
Oct. 31, 2022
USD ($)
shares
Oct. 31, 2021
USD ($)
shares
Oct. 31, 2022
USD ($)
installment
change_in_contribution
tranche
$ / shares
shares
Oct. 31, 2021
USD ($)
$ / shares
shares
Jan. 31, 2022
USD ($)
shares
Jun. 10, 2024
USD ($)
May 31, 2021
shares
Stock Based Compensation                
Options unvested (in shares) | shares   351,989   351,989        
Aggregate intrinsic value of options vested and exercisable   $ 409,100   $ 409,100   $ 480,500    
Weighted-average remaining contractual term of options vested and exercisable (in years)       5 years 2 months 12 days   5 years 8 months 12 days    
Weighted-average grant date fair value of options granted (in usd per share) | $ / shares       $ 116.30 $ 180.08      
Total intrinsic value of options exercised   23,700 $ 94,900 $ 141,400 $ 483,300      
Aggregate intrinsic value of stock options outstanding   476,900   $ 476,900   $ 678,000    
Weighted-average remaining contractual term of stock options outstanding (in years)       5 years 4 months 24 days   6 years 1 month 6 days    
Total unrecognized stock-based compensation expenses related to unvested options   $ 7,100   $ 7,100        
Issuance of common stock upon exercise of options (in shares) | shares   0 0 0 0      
Number of shares of common stock related to early exercised stock options subject to repurchase (in shares) | shares   0   0   197,994    
Value of common stock related to early exercised stock options subject to repurchase           $ 2,200    
Employee payroll contributions accrued   $ 122,558   $ 122,558   104,563    
Stock options                
Stock Based Compensation                
Expected to be amortized over weighted-average vesting period (in years)       1 year 7 months 6 days        
Stock options | Minimum                
Stock Based Compensation                
Risk-free interest rate         0.60%      
Expected stock price volatility         36.10%      
Stock options | Maximum                
Stock Based Compensation                
Risk-free interest rate         1.00%      
Expected stock price volatility         37.10%      
Service-based vesting                
Stock Based Compensation                
Number of vesting schedules | tranche       4        
Service-based vesting | Vesting one                
Stock Based Compensation                
Number of quarterly installments | installment       12        
Vesting percentage   25.00%   10.00%        
Service-based vesting | Vesting two                
Stock Based Compensation                
Number of quarterly installments | installment       16        
Vesting percentage       15.00%        
Service-based vesting | Vesting three                
Stock Based Compensation                
Number of quarterly installments | installment       8        
Vesting percentage       25.00%        
Service-based vesting | Vesting four                
Stock Based Compensation                
Number of quarterly installments | installment       16        
Vesting percentage       50.00%        
RSUs                
Stock Based Compensation                
Expected to be amortized over weighted-average vesting period (in years)       2 years 9 months 18 days        
Total unrecognized stock-based compensation expenses related to unvested RSUs/PSUs   $ 1,300,000   $ 1,300,000        
PSUs                
Stock Based Compensation                
Expected to be amortized over weighted-average vesting period (in years)       1 year 2 months 12 days        
Total unrecognized stock-based compensation expenses related to unvested RSUs/PSUs   80,100   $ 80,100        
Special PSUs                
Stock Based Compensation                
Expected to be amortized over weighted-average vesting period (in years)       2 years 1 month 6 days        
Number of quarterly installments | installment       4        
Total unrecognized stock-based compensation expenses related to unvested RSUs/PSUs   79,400   $ 79,400        
Historical volatility rate, weight       50.00%        
Implied volatility rate, weight       50.00%        
Special PSUs | Chief Executive Officer                
Stock Based Compensation                
Granted (in shares) | shares       655,000        
Special PSUs | Minimum                
Stock Based Compensation                
Risk-free interest rate       0.85%        
Expected stock price volatility       54.89%        
Look back period       2 years 2 months 15 days        
Special PSUs | Maximum                
Stock Based Compensation                
Risk-free interest rate       1.51%        
Expected stock price volatility       55.36%        
Look back period       2 years 6 months 29 days        
Special PSUs | Vesting one                
Stock Based Compensation                
Vesting percentage       50.00%        
Special PSUs | Vesting two                
Stock Based Compensation                
Vesting percentage       12.50%        
Special PSUs | Vesting three                
Stock Based Compensation                
Vesting percentage       12.50%        
Special PSUs | Vesting four                
Stock Based Compensation                
Vesting percentage       12.50%        
Special PSUs | Vesting five                
Stock Based Compensation                
Vesting percentage       12.50%        
Employee Stock Purchase Plan                
Stock Based Compensation                
Threshold percentage of outstanding shares 1.00%              
Look back period 2 years              
Offering period 24 months              
Number of purchase periods | purchase_period 4              
Duration of purchase periods 6 months              
Number of increases in contribution | change_in_contribution       1        
Employee payroll contributions accrued   $ 22,800   $ 22,800   $ 14,800    
Employee Stock Purchase Plan | Rollover Feature                
Stock Based Compensation                
Plan modification, incremental cost       $ 11,400        
Employee Stock Purchase Plan | Rollover Feature | Forecast                
Stock Based Compensation                
Plan modification, incremental cost             $ 30,900  
Employee Stock Purchase Plan | Minimum                
Stock Based Compensation                
Risk-free interest rate       0.10% 0.00%      
Expected stock price volatility       39.60% 33.00%      
Employee Stock Purchase Plan | Maximum                
Stock Based Compensation                
Risk-free interest rate       3.40% 1.90%      
Expected stock price volatility       67.40% 55.90%      
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              
Maximum number of additional shares of common stock that may be issued (in shares) | shares               5,000,000
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%              
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%