v3.23.1

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. 31, 2023 | Mar. 25, 2022 | Mar. 31, 2023 | Mar. 25, 2022
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |
Total share-based compensation expense | $ 6,719 | $ 5,723 | $ 21,217 | $ 21,701
Cost of revenue |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |
Total share-based compensation expense | 1,453 | 1,183 | 5,028 | 4,579
Selling, general and administrative expense |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |
Total share-based compensation expense | 5,080 | 4,540 | 16,003 | 17,122
Restructuring and other related costs |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |
Total share-based compensation expense | $ 186 | $ 0 | $ 186 | $ 0

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of noncash expense for share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_ShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SellingGeneralAndAdministrativeExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_RestructuringChargesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |