v3.24.0.1
Fair value of financial instruments - Narrative (Details)
$ in Millions, $ in Millions
3 Months Ended 6 Months Ended 12 Months Ended
Dec. 29, 2023
USD ($)
contract
Dec. 30, 2022
USD ($)
Dec. 29, 2023
USD ($)
contract
Dec. 30, 2022
USD ($)
Jun. 30, 2023
USD ($)
contract
Dec. 29, 2023
CAD ($)
contract
Jun. 30, 2023
CAD ($)
contract
Sep. 27, 2019
contract
Sep. 03, 2019
Jul. 25, 2018
Foreign Currency Fair Value Hedge Derivative [Line Items]                    
Fixed interest rate                   2.86%
Foreign currency forward contracts                    
Foreign Currency Fair Value Hedge Derivative [Line Items]                    
Derivative liabilities, notional amount $ 1.0   $ 1.0   $ 140.0          
Derivative assets, notional amount 125.0   125.0   3.0          
Gain/(loss) from accumulated other comprehensive income expected to be reclassified     3.9   $ (4.0)          
Unrealized gain (loss) on derivatives $ 2.6 $ 4.2 $ 2.9 $ 4.0            
Foreign currency forward contracts | Designated as hedging instrument | Thailand, baht                    
Foreign Currency Fair Value Hedge Derivative [Line Items]                    
Number of forward contracts outstanding | contract 126   126   143,000 126 143,000      
Derivative, notional amount $ 126.0   $ 126.0   $ 143.0          
Foreign currency forward contracts | Designated as hedging instrument | Canada, dollars                    
Foreign Currency Fair Value Hedge Derivative [Line Items]                    
Number of forward contracts outstanding | contract 1   1   1 1 1      
Derivative liabilities, notional amount           $ 0.3        
Derivative assets, notional amount           $ 0.3 $ 0.2      
Interest rate swaps                    
Foreign Currency Fair Value Hedge Derivative [Line Items]                    
Number of forward contracts outstanding | contract 1   1   1 1 1 2    
Derivative, notional amount $ 60.9   $ 60.9   $ 60.9          
Gain/(loss) from accumulated other comprehensive income expected to be reclassified     $ 0.1   $ 0.4          
Interest rate swaps | Bank of Ayudhya Public Company | Bank of America Credit Facility                    
Foreign Currency Fair Value Hedge Derivative [Line Items]                    
Debt instrument stated interest percentage                 4.36%