v3.25.2
Share-based compensation - Additional Information (Details) - USD ($)
12 Months Ended
Mar. 12, 2025
Jun. 27, 2025
Jun. 28, 2024
Jun. 30, 2023
Dec. 12, 2019
Nov. 02, 2017
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Share-based compensation costs capitalized   $ 0 $ 0 $ 0    
Number of ordinary shares available for future grant (in shares)   1,694,993        
Shares authorized for future issuance (in shares)         1,281,619  
Shares withheld to settle employee minimum statutory obligation for applicable income and other employment taxes (in shares)   92,492 104,892      
Tax withholdings related to net share settlement of restricted share units   $ 21,275,000 $ 13,175,000 18,167,000    
Number of securities called by warrants or rights (in shares) 381,922          
Exercise price of warrants or rights (in USD per share) $ 208.48          
Class of warrant or right, warrants vested (in shares) 38,192          
Grant date fair value per share (in USD per share) $ 102.88          
Grant date fair value $ 39,300,000          
Restricted Share Units and Performance Share Units            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Total fair value of restricted share units vested   28,000,000.0 $ 26,000,000.0 $ 28,400,000    
Aggregate intrinsic value of restricted share units outstanding   $ 113,500,000        
Restricted Share Units | Non-employee Director            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Award granted vesting period   1 year        
Restricted Share Units | Vesting, option one            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Award granted vesting period   3 years        
Restricted Share Units | Vesting, option two            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Award granted vesting period   4 years        
Restricted Share Units | Vest on the first of January | Non-employee Director            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Award vesting percentage   100.00%        
Performance Share Units | Executive of the Company            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Award granted vesting period   2 years        
Performance Share Units | Vest at the end of the performance period | Executive of the Company | Minimum            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Award vesting percentage   0.00%        
Performance Share Units | Vest at the end of the performance period | Executive of the Company | Maximum            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Award vesting percentage   100.00%        
Equity Incentive Plans | Restricted Share Units            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Unrecognized share-based compensation expense   $ 17,300,000        
Unrecognized compensation expense, weighted-average period for recognition   2 years 6 months        
Equity Incentive Plans | Performance Share Units            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Unrecognized share-based compensation expense   $ 7,100,000        
Unrecognized compensation expense, weighted-average period for recognition   1 year        
2020 Plan            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Number of ordinary shares available for future grant (in shares)   1,583,646     1,700,000  
Shares reserved for future issuance (in shares)         1,300,000  
2017 Inducement Plan            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Shares authorized for future issuance (in shares)           160,000