v3.25.2
Summary of Significant Accounting Policies - Narrative (Details)
$ in Thousands
12 Months Ended
Jun. 30, 2025
USD ($)
segment
Jun. 30, 2024
USD ($)
Jun. 30, 2023
USD ($)
Summary of Significant Accounting Policies [Line Items]      
Number of operating segments | segment 2    
Cash and cash equivalents $ 1,209,450 $ 238,361  
Depreciation 111,800 88,900 $ 84,700
High Yield Cash and Cash Equivalent      
Summary of Significant Accounting Policies [Line Items]      
Cash and cash equivalents 302,700    
Currency Swap | Fair Value And Net Investment Hedging      
Summary of Significant Accounting Policies [Line Items]      
Outstanding foreign cross-currency swaps 1,128,300 1,026,200  
Foreign currency hedging instruments | Non-Designated Hedges      
Summary of Significant Accounting Policies [Line Items]      
Outstanding foreign cross-currency swaps $ 1,410,200 1,340,000  
Derivative, term of contract 2 years    
Patents      
Summary of Significant Accounting Policies [Line Items]      
Intangible assets, estimated useful life 10 years    
Developed/core product technology      
Summary of Significant Accounting Policies [Line Items]      
Impairment of intangible assets   $ 18,600  
Impairment, intangible asset, finite-lived, statement of income or comprehensive income flag   Restructuring expenses (note 17)  
Customer relationships      
Summary of Significant Accounting Policies [Line Items]      
Impairment of intangible assets   $ 14,500  
Impairment, intangible asset, finite-lived, statement of income or comprehensive income flag   Restructuring expenses (note 17)  
Other intangibles      
Summary of Significant Accounting Policies [Line Items]      
Impairment of intangible assets   $ 100  
Impairment, intangible asset, finite-lived, statement of income or comprehensive income flag   Restructuring expenses (note 17)  
Buildings      
Summary of Significant Accounting Policies [Line Items]      
Estimated useful life of property, plant and equipment, years 40 years    
Minimum      
Summary of Significant Accounting Policies [Line Items]      
Deferred revenue recognized, term 1 year    
Estimated useful life of property, plant and equipment, years 2 years    
Intangible assets, estimated useful life 2 years    
Maximum      
Summary of Significant Accounting Policies [Line Items]      
Deferred revenue recognized, term 5 years    
Estimated useful life of property, plant and equipment, years 10 years    
Intangible assets, estimated useful life 15 years