v3.25.2
Fair value of financial instruments - Additional Information (Details) - Foreign currency forward contracts
$ in Millions, $ in Millions
12 Months Ended
Jun. 27, 2025
USD ($)
contract
Jun. 28, 2024
USD ($)
contract
Jun. 27, 2025
CAD ($)
contract
Jun. 28, 2024
CAD ($)
contract
Foreign Currency Fair Value Hedge Derivative [Line Items]        
Derivative liabilities, notional amount $ 35.0 $ 127.0    
Gains or losses from accumulated other comprehensive income expected to be reclassified $ 1.5      
Canada, Dollars        
Foreign Currency Fair Value Hedge Derivative [Line Items]        
Derivative liabilities, notional amount       $ 0.4
Designated as hedging instrument | Thailand, Baht        
Foreign Currency Fair Value Hedge Derivative [Line Items]        
Number of foreign currency derivatives held | contract 165 135 165 135
Derivative, notional amount $ 165.0 $ 135.0    
Designated as hedging instrument | Canada, Dollars        
Foreign Currency Fair Value Hedge Derivative [Line Items]        
Number of foreign currency derivatives held | contract 1 1 1 1
Derivative liabilities, notional amount     $ 0.5  
Not designated as hedging instrument        
Foreign Currency Fair Value Hedge Derivative [Line Items]        
Unrealized gain (loss) on derivatives $ 1.9 $ 0.7