Stock-based compensation - Schedule of Employee Service Share Based Compensation Allocation of Recognized Period Costs (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Sep. 26, 2025 |
Sep. 27, 2024 |
Sep. 26, 2025 |
Sep. 27, 2024 |
|
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total stock-based compensation expense | $ 31,653 | $ 29,885 | $ 53,963 | $ 51,786 |
| Cost of sales | ||||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total stock-based compensation expense | 5,077 | 2,481 | 7,315 | 6,261 |
| Selling general and administrative expense | ||||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total stock-based compensation expense | 24,039 | 25,417 | 42,531 | 40,704 |
| Research and development | ||||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total stock-based compensation expense | $ 2,537 | $ 1,987 | $ 4,117 | $ 4,821 |