v3.26.1
Income taxes - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended 60 Months Ended
Jun. 26, 2026
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]                
Thailand statutory tax rate   20.00% 20.00%          
Valuation allowance $ 5,568 $ 3,481 $ 3,613 $ 3,824 $ 3,481      
Deferred tax liabilities 2,511 2,141     $ 2,141      
Accrued interest and penalties related to uncertain tax positions $ 400              
Interest and penalties recorded   100 200          
Thailand                
Income Taxes [Line Items]                
Tax exempt income         50.00%      
Preferential tax treatment period 8 years              
Income tax exemption, period 15 years              
Reduced corporate income tax rate 20.00%              
Thailand statutory tax rate 20.00%              
Unremitted earnings $ 198,300 167,900     $ 167,900      
Unrecognized deferred tax liabilities 17,100 16,900     16,900      
China                
Income Taxes [Line Items]                
Deferred tax liabilities $ 1,800 1,500     1,500      
China | Subsidiaries                
Income Taxes [Line Items]                
Thailand statutory tax rate 25.00%              
U.S. | Subsidiaries                
Income Taxes [Line Items]                
Thailand statutory 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]                
Thailand statutory tax rate 25.00%              
Israel                
Income Taxes [Line Items]                
Valuation allowance $ 2,100 $ 800 $ 2,700   $ 800      
Israel | Subsidiaries                
Income Taxes [Line Items]                
Thailand statutory tax rate 23.00%