v3.26.1
Income taxes - Schedule of Effective Tax Rate (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jun. 26, 2026
Jun. 27, 2025
Jun. 28, 2024
Income Taxes [Line Items]      
Income before income taxes $ 555,113 $ 355,180 $ 311,354
Thailand statutory tax rate   20.00% 20.00%
Tax expense calculated at a statutory corporate income tax rate of 20%   $ 71,036 $ 62,271
Effect of income taxes from locations with tax rates different from Thailand   (1,197) (945)
Income not subject to tax   (62,032) (62,940)
Income tax on unremitted earnings   1,521 1,488
Non-deductible expenses (4,948) 9,045 10,347
Foreign operations   2,426 (600)
Tax rebate from research and development application   (211) 17
Provision for uncertain income tax position   678 1,131
Utilization of loss and tax credits carryforward   0 0
Changes in valuation allowance   0 3,759
Others   1,387 645
Total income tax expense $ 82,086 $ 22,653 $ 15,173
Income not subject to tax per ordinary share on a diluted basis (in USD per share) $ 2.24 $ 1.71 $ 1.72
Tax Jurisdiction of Domicile [Extensible Enumeration] Thailand Thailand  
Domestic tax jurisdiction      
Income Taxes [Line Items]      
Income not subject to tax $ (388,100) $ (263,000) $ (306,000)