v3.25.2
Fair value of financial instruments - Schedule Impacts of Derivative Gain (Loss) of Cash Flow Hedges (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 27, 2025
Jun. 28, 2024
Derivatives gain (loss) recognized in other comprehensive income (loss):    
Total derivatives loss (gain) recognized in other comprehensive income $ 5,075 $ 2,792
Derivatives loss (gain) reclassified from accumulated other comprehensive income into earnings:    
Total derivatives (gain) loss reclassified from accumulated other comprehensive income into earnings (2,364) (403)
Change in net unrealized gain (loss) on derivative instruments 2,711 2,389
Foreign currency forward contracts | Other comprehensive income (loss)    
Derivatives gain (loss) recognized in other comprehensive income (loss):    
Total derivatives loss (gain) recognized in other comprehensive income 5,075 3,007
Foreign currency forward contracts | Cost of revenues    
Derivatives loss (gain) reclassified from accumulated other comprehensive income into earnings:    
Total derivatives (gain) loss reclassified from accumulated other comprehensive income into earnings (1,588) 8,563
Foreign currency forward contracts | Selling, general and administrative expenses    
Derivatives loss (gain) reclassified from accumulated other comprehensive income into earnings:    
Total derivatives (gain) loss reclassified from accumulated other comprehensive income into earnings (122) 357
Foreign currency forward contracts | Foreign exchange gain (loss), net    
Derivatives loss (gain) reclassified from accumulated other comprehensive income into earnings:    
Total derivatives (gain) loss reclassified from accumulated other comprehensive income into earnings (654) (9,103)
Interest rate swaps | Other comprehensive income (loss)    
Derivatives gain (loss) recognized in other comprehensive income (loss):    
Total derivatives loss (gain) recognized in other comprehensive income 0 (215)
Interest rate swaps | Interest expense    
Derivatives loss (gain) reclassified from accumulated other comprehensive income into earnings:    
Total derivatives (gain) loss reclassified from accumulated other comprehensive income into earnings $ 0 $ (220)