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 | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 27, 2026 |
Mar. 28, 2025 |
Mar. 27, 2026 |
Mar. 28, 2025 |
|
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total share-based compensation expense | $ 8,541 | $ 7,783 | $ 26,369 | $ 24,903 |
| Cost of revenue | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total share-based compensation expense | 2,531 | 2,221 | 8,694 | 7,883 |
| Selling, general and administrative expense | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total share-based compensation expense | $ 6,010 | $ 5,562 | $ 17,675 | $ 17,020 |