v3.26.1
Common Stock and Stockholders' Equity - Additional Information (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2026
USD ($)
$ / shares
shares
Jul. 31, 2025
USD ($)
$ / shares
shares
Jul. 31, 2026
USD ($)
purchase_period
$ / shares
shares
Jul. 31, 2025
USD ($)
$ / shares
shares
May 31, 2026
USD ($)
Jan. 31, 2026
shares
Aug. 31, 2025
USD ($)
Mar. 31, 2025
USD ($)
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Stock repurchase program, authorized amount             $ 200,000 $ 150,000
Treasury stock (in shares) | shares           363,268    
Number of shares authorized for grant (in shares) | shares 44,933,411   44,933,411     40,659,581    
Unrecognized compensation cost related to unvested stock options $ 0   $ 0          
Stock-based compensation expense $ 16,472 $ 25,960 $ 34,435 $ 51,713        
Stock options, RSUs and PSUs                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Number of shares available for grant (in shares) | shares 24,298,651   24,298,651     23,024,478    
RSUs                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Unrecognized compensation cost related to unvested RSUs $ 95,800   $ 95,800          
Unrecognized compensation cost related to unvested awards, period for recognition (in years)     2 years 2 months 12 days          
PSUs                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Unrecognized compensation cost related to unvested RSUs $ 3,800   $ 3,800          
Unrecognized compensation cost related to unvested awards, period for recognition (in years)     8 months 12 days          
Performance period (in years)     1 year          
Vesting period (in years)     3 years          
PSUs | Minimum                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Performance condition (as a percent) 50.00%   50.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%     200.00%    
Shares issuable pursuant to the ESPP                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Number of shares available for grant (in shares) | shares 4,511,606   4,511,606          
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 $ 700 500 $ 2,000 1,500        
Amount withheld on behalf of employees for future purchase $ 600 $ 1,200 $ 2,700 $ 3,900        
Shares purchased (in shares) | shares 456,298 377,811 456,298 377,811        
Purchase price (in dollars per share) | $ / shares $ 7.62 $ 12.22 $ 7.62 $ 12.22        
2025 Share Repurchase Program                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Stock repurchased during period (in shares) | shares     8,532,838          
Stock repurchased and retired (in shares) | shares 0   8,896,106          
Remaining amount authorized $ 0   $ 0          
2026 Share Repurchase Program                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Stock repurchase program, authorized amount         $ 100,000      
Stock repurchased during period (in shares) | shares 799,112   799,112          
Remaining amount authorized $ 92,400   $ 92,400