Income taxes - Changes in the Valuation Allowance (Details) - Valuation allowance for deferred tax assets - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 28, 2026 |
Jun. 29, 2025 |
Jun. 30, 2024 |
|
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Balance at Beginning of Period | $ 40,581 | $ 4,868 | $ 3,182 |
| Additions charged to income tax benefit | 31,201 | 35,958 | 1,882 |
| Allowances taken or written off | (15) | (245) | (196) |
| Balance at End of Period | $ 71,767 | $ 40,581 | $ 4,868 |