Share-based compensation - Schedule of Share-Based Compensation Expense Recorded in Condensed Consolidated Statements of Operations and Comprehensive Income (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
---|---|---|---|
Jun. 27, 2025 |
Jun. 28, 2024 |
Jun. 30, 2023 |
|
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | |||
Share-based compensation | $ 33,004 | $ 28,374 | $ 28,127 |
Cost of revenues | |||
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | |||
Share-based compensation | 10,456 | 7,203 | 6,664 |
Selling, general and administrative expenses | |||
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | |||
Share-based compensation | 22,548 | 21,171 | 20,939 |
Restructuring and other related costs | |||
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | |||
Share-based compensation | $ 0 | $ 0 | $ 524 |