v3.26.1
Stock-based compensation - Summary of Employee Service Share Based Compensation Allocation of Recognized Period Costs (Details) - USD ($)
$ in Thousands
12 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Mar. 31, 2024
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Total stock-based compensation expense $ 120,298 $ 118,880 $ 56,783
Cost of sales      
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Total stock-based compensation expense 16,696 11,927 10,764
Selling general and administrative expense      
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Total stock-based compensation expense 92,004 98,532 38,325
Research and development      
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Total stock-based compensation expense $ 11,598 $ 8,421 $ 7,694