Share-based compensation - Share-based compensation expense recorded in condensed consolidated statements of operations and comprehensive income (Detail) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 26, 2021 |
Mar. 27, 2020 |
Mar. 26, 2021 |
Mar. 27, 2020 |
|
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total share-based compensation expense | $ 6,864 | $ 6,118 | $ 18,742 | $ 18,301 |
| Cost of revenues | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total share-based compensation expense | 1,388 | 1,489 | 4,805 | 4,800 |
| SG&A | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total share-based compensation expense | $ 5,476 | $ 4,629 | $ 13,937 | $ 13,501 |