Share-based compensation - Schedule of Share-Based Compensation Expense Recorded in Condensed Consolidated Statements of Operations and Comprehensive Income (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Sep. 25, 2026 |
Sep. 26, 2025 |
|
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
| Total share-based compensation expense | $ 11,225 | $ 9,071 |
| Income Statement Location [Axis]: us-gaap:CostOfRevenue | ||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
| Total share-based compensation expense | 4,203 | 3,519 |
| Income Statement Location [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense | ||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
| Total share-based compensation expense | $ 7,022 | $ 5,552 |