v3.26.1
Stock-based compensation - Schedule of Stock Option Activity and Related Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Mar. 31, 2024
Mar. 31, 2023
Weighted-average exercise price        
Closing stock price (in USD per share) $ 60.61      
Service-based Stock Options        
Options outstanding        
Beginning balance (in shares) 605,666 674,000 1,024,490  
Exercised (in shares) (271,752) (68,334) (347,590)  
Canceled or forfeited (in shares)     (2,900)  
Ending balance (in shares) 333,914 605,666 674,000 1,024,490
Options outstanding, Exercisable (in shares) 333,914      
Weighted-average exercise price        
Beginning balance (in USD per share) $ 17.35 $ 17.01 $ 16.17  
Exercised (in USD per share) 16.26 13.95 14.47  
Canceled or forfeited (in USD per share)     26.84  
Ending balance (in USD per share) 18.24 $ 17.35 $ 17.01 $ 16.17
Weighted-average exercise price, Exercisable (in USD per share) $ 18.24      
Weighted-average remaining contractual life (in years), Outstanding 1 year 10 months 24 days 2 years 3 months 18 days 3 years 3 months 18 days
Weighted-average remaining contractual life (in years), Exercisable 1 year 10 months 24 days      
Aggregate intrinsic values, Outstanding $ 14,146 $ 27,519 $ 120,660
Aggregate intrinsic values, Exercisable $ 14,146      
Performance-based and Market-based Stock Options        
Options outstanding        
Beginning balance (in shares) 261,300 261,300 517,740  
Exercised (in shares) (48,300) 0 (256,440)  
Ending balance (in shares) 213,000 261,300 261,300 517,740
Options outstanding, Exercisable (in shares) 213,000      
Weighted-average exercise price        
Beginning balance (in USD per share) $ 26.84 $ 26.84 $ 14.46  
Exercised (in USD per share) 26.84 0 1.84  
Ending balance (in USD per share) 26.84 $ 26.84 $ 26.84 $ 14.46
Weighted-average exercise price, Exercisable (in USD per share) $ 26.84      
Weighted-average remaining contractual life (in years), Outstanding 10 months 24 days 1 year 10 months 24 days 2 years 10 months 24 days
Weighted-average remaining contractual life (in years), Exercisable 10 months 24 days      
Aggregate intrinsic values, Outstanding $ 7,193 $ 9,394 $ 44,209
Aggregate intrinsic values, Exercisable $ 7,193