v3.26.1
Fair value of financial instruments - Additional Information (Details) - Foreign currency forward contracts
$ in Millions, $ in Millions
12 Months Ended
Jun. 26, 2026
USD ($)
contract
Jun. 27, 2025
USD ($)
contract
Jun. 26, 2026
CAD ($)
contract
Jun. 27, 2025
CAD ($)
contract
Financial Instrument [Line Items]        
Derivative liabilities, notional amount $ 279.0 $ 35.0    
Gains or losses from accumulated other comprehensive income expected to be reclassified $ (5.6)      
Canada, Dollars        
Financial Instrument [Line Items]        
Derivative liabilities, notional amount     $ 0.3  
Designated as hedging instrument | Thailand, Baht        
Financial Instrument [Line Items]        
Number of foreign currency derivatives held | contract 272 165 272 165
Derivative, notional amount $ 280.0 $ 165.0    
Designated as hedging instrument | Canada, Dollars        
Financial Instrument [Line Items]        
Number of foreign currency derivatives held | contract 1 1 1 1
Derivative liabilities, notional amount     $ 0.3 $ 0.5
Not designated as hedging instrument        
Financial Instrument [Line Items]        
Unrealized (loss) gain on derivatives $ (2.8) $ 1.9