Stock-based compensation - Summary of Employee Service Share Based Compensation Allocation of Recognized Period Costs (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Jul. 03, 2026 |
Jun. 27, 2025 |
|
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
| Total stock-based compensation expense | $ 29,638 | $ 22,310 |
| Income Statement Location [Axis]: us-gaap:CostOfRevenue | ||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
| Total stock-based compensation expense | 4,445 | 2,238 |
| Income Statement Location [Axis]: us-gaap:ResearchAndDevelopmentExpense | ||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
| Total stock-based compensation expense | 4,025 | 1,580 |
| Income Statement Location [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense | ||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
| Total stock-based compensation expense | $ 21,168 | $ 18,492 |