v3.26.1
Stock-based compensation - Additional information (Details) - USD ($)
12 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Mar. 31, 2024
Jan. 31, 2026
Mar. 31, 2023
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Total stock-based compensation expense $ 120,298,000 $ 118,880,000 $ 56,783,000    
Aggregate intrinsic value of options $ 100,000 $ 600,000      
Number of options, Options awards exercisable as of end of fiscal year (in shares) 316,280        
Options outstanding (in shares) 3,520,850        
Share repurchase program, authorized, amount       $ 500,000,000.0  
Share repurchase program, remaining authorized, amount $ 499,600,000        
Class A common stock          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Stock repurchased during period, value $ 400,000        
Share-Based Payment Arrangement          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Weighted average grant date fair values (in USD per share) $ 32.60 $ 29.05 $ 24.95    
Options awards vested during the period (in shares)     0    
Number of options, Options awards exercisable as of end of fiscal year (in shares)     0    
Options          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Number of options, Options awards exercisable as of end of fiscal year (in shares) 316,280        
Options outstanding (in shares) 3,520,850 3,362,498     2,600,000
PSU          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Service period   3 years 3 years    
Total stock-based compensation expense $ 3,400,000 $ 14,800,000      
Granted (in USD per share) $ 75.92        
Total fair value of RSUs vested $ 163,100,000 $ 0 $ 0    
Weighted average grant date fair values (in USD per share)   $ 74.18 $ 54.77    
RSU          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Service period   3 years 3 years    
Granted (in USD per share) $ 69.19 $ 41.52 $ 41.55    
Total fair value of RSUs vested $ 88,200,000 $ 30,300,000 $ 13,200,000    
2022 Plan | Share-Based Payment Arrangement          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Number of grants authorized (in shares) 24,000,000.0        
Number of shares available for grant (in shares) 11,500,000        
2022 Plan | Options          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Award vesting period 4 years        
2022 Plan | Minimum | PSU          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Range of options awards vesting percentage 0.00%        
2022 Plan | Maximum | Share-Based Payment Arrangement          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Award, expiration period 10 years        
2022 Plan | Maximum | PSU          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Range of options awards vesting percentage 300.00%