v3.26.1
Fair value of financial instruments - Schedule Impacts of Derivative Gain (Loss) of Cash Flow Hedges (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 26, 2026
Jun. 27, 2025
Derivatives gain (loss) recognized in other comprehensive income (loss):    
Total derivatives loss (gain) recognized in other comprehensive income $ (11,837) $ 5,075
Derivatives loss (gain) reclassified from accumulated other comprehensive income into earnings:    
Total derivatives (gain) loss reclassified from accumulated other comprehensive income into earnings 4,751 (2,364)
Change in net unrealized gain (loss) on derivative instruments (7,086) 2,711
Foreign currency forward contracts | Income Statement Location [Axis]: us-gaap:CostOfRevenue    
Derivatives loss (gain) reclassified from accumulated other comprehensive income into earnings:    
Total derivatives (gain) loss reclassified from accumulated other comprehensive income into earnings 3,333 (1,588)
Foreign currency forward contracts | Income Statement Location [Axis]: us-gaap:ForeignCurrencyTransactionGainLossBeforeTax    
Derivatives loss (gain) reclassified from accumulated other comprehensive income into earnings:    
Total derivatives (gain) loss reclassified from accumulated other comprehensive income into earnings 1,166 (654)
Foreign currency forward contracts | Income Statement Location [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense    
Derivatives loss (gain) reclassified from accumulated other comprehensive income into earnings:    
Total derivatives (gain) loss reclassified from accumulated other comprehensive income into earnings 252 (122)
Foreign currency forward contracts | Location, Statement of Other Comprehensive Income, Balance [Axis]: us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent    
Derivatives gain (loss) recognized in other comprehensive income (loss):    
Total derivatives loss (gain) recognized in other comprehensive income $ (11,837) $ 5,075