v3.25.2
Income taxes - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended 60 Months Ended
Jun. 27, 2025
Jun. 28, 2024
Jun. 30, 2023
Jun. 27, 2025
Jun. 24, 2022
Jun. 25, 2021
Jun. 26, 2020
Income Taxes [Line Items]              
Valuation allowance $ 3,481 $ 3,613 $ 3,824 $ 3,481 $ 4,934    
Deferred tax liabilities 2,141 5,303   2,141      
Accrued interest and penalties related to uncertain tax positions 100     $ 100      
Interest and penalties recorded 200 100        
Thailand              
Income Taxes [Line Items]              
Tax exempt income       50.00%      
Income tax exemption, period 15 years            
Reduced corporate income tax rate 20.00%            
Unremitted earnings $ 167,900 144,400   $ 167,900      
Unrecognized deferred tax liabilities 16,900 11,600   16,900      
China              
Income Taxes [Line Items]              
Deferred tax liabilities $ 1,500 1,500   $ 1,500      
China | Subsidiaries              
Income Taxes [Line Items]              
Corporate income tax rate 25.00%            
U.S. | Subsidiaries              
Income Taxes [Line Items]              
Corporate income tax rate 21.00%            
U.K.              
Income Taxes [Line Items]              
Valuation allowance   1,000 3,800   $ 4,900 $ 2,100 $ 1,600
Valuation allowance released     $ 1,600        
U.K. | Subsidiaries              
Income Taxes [Line Items]              
Corporate income tax rate 25.00%            
Israel              
Income Taxes [Line Items]              
Valuation allowance   $ 2,700          
Israel | Subsidiaries              
Income Taxes [Line Items]              
Corporate income tax rate 23.00%