v3.21.1
Share-based compensation - Additional Information (Detail) - USD ($)
$ in Thousands
9 Months Ended
Mar. 26, 2021
Mar. 27, 2020
Dec. 12, 2019
Nov. 02, 2017
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Shares authorized for future issuance (in shares)     1,281,619  
Shares withheld to settle employee minimum statutory obligation for applicable income and other employment taxes (in shares) 160,648 91,481    
Tax withholdings related to net share settlement of restricted share units $ 11,362 $ 4,727    
Stock Plan 2010        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Number of ordinary shares available for grant (in shares) 0      
Equity Incentive 2020 plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Number of ordinary shares available for grant (in shares)     1,700,000  
Shares reserved for future issuance (in shares)     1,300,000  
Equity Incentive 2017 Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Shares authorized for future issuance (in shares)       160,000
Share units outstanding (in shares) 111,347      
Restricted share units | Stock Plan 2010        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Share units outstanding (in shares) 402,651      
Restricted share units | Stock Plan 2020        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Share units outstanding (in shares) 2,515,947      
Restricted share units | Equity Incentive Plans        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Unrecognized share-based compensation expense $ 13,200      
Unrecognized compensation expense, weighted-average period for recognition 2 years 4 months 24 days      
Restricted share units | Equity Incentive 2020 plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Share units outstanding (in shares) 234,734      
Restricted share units | Equity Incentive 2017 Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Share units outstanding (in shares) 12,164      
Restricted share units | Vesting option one        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award granted vesting period, year 3 years      
Restricted share units | Vesting option two        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award granted vesting period, year 4 years      
Restricted share units | Non-employee director        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award granted vesting period, year 1 year      
Restricted share units | Non-employee director | Vest on the first of January        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award vesting percentage 100.00%      
Performance share units | Stock Plan 2020        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Share units outstanding (in shares) 188,554      
Performance share units | Executive of the Company        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award granted vesting period, year 2 years      
Performance share units | Executive of the Company | Vest at the end of the performance period | Minimum        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award vesting percentage 0.00%      
Performance share units | Executive of the Company | Vest at the end of the performance period | Maximum        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award vesting percentage 100.00%      
Performance share units | Stock Plan 2010        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Share units outstanding (in shares) 238,474      
Performance share units | Equity Incentive Plans        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Unrecognized share-based compensation expense $ 9,800      
Unrecognized compensation expense, weighted-average period for recognition 1 year 2 months 12 days