v3.24.2.u1
Common Stock and Stockholders' Equity - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Oct. 31, 2023
USD ($)
$ / shares
shares
Jul. 31, 2024
USD ($)
$ / shares
shares
Jul. 31, 2023
USD ($)
$ / shares
shares
Jul. 31, 2024
USD ($)
purchase_period
$ / shares
shares
Jul. 31, 2023
USD ($)
$ / shares
shares
May 31, 2024
USD ($)
Apr. 30, 2024
shares
Jan. 31, 2024
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Treasury stock (in shares) 2,331,002              
Stock repurchased (in USD per share) | $ / shares $ 21.45              
Total repurchase price | $ $ 50,000 $ 28,063   $ 28,063        
Stock repurchase program, authorized amount | $           $ 100,000    
Stock repurchased during period (in shares)   1,313,248            
Treasury stock retired (in shares)   1,234,484            
Treasury stock to be retired (in shares)       78,764        
Remaining amount authorized | $   $ 72,000   $ 72,000        
Number of shares authorized for grant (in shares)   36,093,524   36,093,524       31,519,553
Number of shares available for grant (in shares)   19,919,771   19,919,771       17,178,454
Unrecognized compensation cost related to unvested stock options | $   $ 1,000   $ 1,000        
Stock-based compensation expense | $   $ 32,366 $ 35,537 $ 65,306 $ 63,082      
Common stock                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Treasury stock retired (in shares)   3,565,486   3,565,486        
Treasury Stock                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Treasury stock (in shares)   78,764   78,764     2,331,002 2,331,002
Total repurchase price | $   $ 28,063   $ 28,063        
Treasury stock retired (in shares)   3,565,486   3,565,486        
Stock options                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Unrecognized compensation cost related to unvested awards, period for recognition (in years)       1 year 4 months 24 days        
RSUs                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Unrecognized compensation cost related to unvested awards, period for recognition (in years)       2 years 3 months 18 days        
Unrecognized compensation cost related to unvested RSUs | $   $ 213,000   $ 213,000        
PSUs                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Unrecognized compensation cost related to unvested awards, period for recognition (in years)       1 year 4 months 24 days        
Unrecognized compensation cost related to unvested RSUs | $   $ 12,000   $ 12,000        
Vesting period (in years)       3 years        
PSUs | Minimum                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Performance condition (as a percent)   0.00%   0.00%        
PSUs | Maximum                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Performance condition (as a percent)   200.00%   200.00%        
ESPP                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Number of shares available for grant (in shares)   3,984,879   3,984,879        
Offering period (in months)       24 months        
Number of purchase periods within each offering period | purchase_period       4        
Purchase period (in months)       6 months        
Purchase price as a percentage of fair market value of stock on the offering date or the purchase date       85.00%        
Stock-based compensation expense | $   $ 900 1,600 $ 2,600 3,400      
Amount withheld on behalf of employees for future purchase | $   $ 2,100 $ 2,100 $ 5,200 $ 5,800      
Shares purchased (in shares)   312,660 325,983 312,660 325,983      
Purchase price (in dollars per share) | $ / shares   $ 18.34 $ 19.30 $ 18.34 $ 19.30