v3.25.1
Stock-based compensation - Narrative (Details) - USD ($)
12 Months Ended
Jan. 31, 2025
Jan. 31, 2024
Jan. 31, 2023
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Granted (in shares) 0 0 0
Aggregate intrinsic value $ 21,700,000 $ 10,100,000 $ 7,200,000
Unrecognized stock compensation expense related to options to be recognized in future $ 0    
Stock options      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expiration period after termination (in years) 10 years    
Expiration period from termination of employment (in days) 90 days    
Restricted stock units      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Granted (in usd per share) $ 86.07 $ 64.16 $ 75.64
Percentage of options vested (as a percent) 25.00%    
Aggregate intrinsic value $ 118,800,000 $ 69,300,000 $ 50,700,000
Compensation not yet recognized, other than options $ 147,200,000    
Recognition period for stock-based compensation (in years) 2 years    
Performance Restricted Stock Units, Subject To Market Conditions      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Performance units awarded (in shares) 182,044    
Grant date fair value $ 20,200,000    
Performance Restricted Stock Units, Subject To Market Conditions | Minimum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Percentage of options vested (as a percent) 0.00%    
Performance Restricted Stock Units, Subject To Market Conditions | Maximum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Percentage of options vested (as a percent) 200.00%    
Performance Restricted Stock Units, Subject To Certain Financial Criteria      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Performance units awarded (in shares) 60,682    
Performance Restricted Stock Units, Subject To Certain Financial Criteria | Minimum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Percentage of options vested (as a percent) 0.00%    
Performance Restricted Stock Units, Subject To Certain Financial Criteria | Maximum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Percentage of options vested (as a percent) 200.00%    
Incentive Plan      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Shares available for grant under incentive plan (in shares) 3,800,000