Stock-based compensation - Schedule of Employee Service Share Based Compensation Allocation of Recognized Period Costs (Details) - USD ($) $ in Thousands |
3 Months Ended | |
---|---|---|
Jun. 27, 2025 |
Jun. 28, 2024 |
|
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
Total stock-based compensation expense | $ 22,310 | $ 21,901 |
Cost of sales | ||
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
Total stock-based compensation expense | 2,238 | 3,780 |
Selling general and administrative expense | ||
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
Total stock-based compensation expense | 18,492 | 15,287 |
Research and development | ||
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
Total stock-based compensation expense | $ 1,580 | $ 2,834 |