v3.22.4
Shareholders' equity (Details) - USD ($)
3 Months Ended 6 Months Ended
Dec. 30, 2022
Dec. 24, 2021
Dec. 30, 2022
Dec. 24, 2021
Aug. 31, 2022
Jun. 24, 2022
Aug. 31, 2020
May 31, 2019
Feb. 28, 2018
Aug. 31, 2017
Shareholders Equity [Line Items]                    
Ordinary shares, authorized share capital (in shares) 500,000,000   500,000,000     500,000,000        
Ordinary shares, par value (in USD per share) $ 0.01   $ 0.01     $ 0.01        
Preferred shares, shares authorized (in shares) 5,000,000   5,000,000     5,000,000        
Preferred shares, par value (in USD per share) $ 0.01   $ 0.01     $ 0.01        
Share repurchase program, approved amount                   $ 30,000,000
Share repurchase program, increase in shares authorized for repurchase         $ 78,700,000   $ 58,500,000 $ 50,000,000 $ 30,000,000  
Treasury stock, carrying basis $ 94,900,000   $ 94,900,000     $ 247,200,000        
Treasury stock acquired (in shares) 1,648 38,269 48,625 38,269            
Treasury stock acquired, average cost (in USD per share)     $ 104.94              
Treasury stock, value, acquired $ 204,000 $ 4,433,000 $ 5,104,000 $ 4,433,000            
1999 and 2010 Stock Plan                    
Shareholders Equity [Line Items]                    
Ordinary shares issued upon vesting of restricted shares (in shares) 6,034 8,153 202,881 259,951