v3.26.1
Summary of Significant Accounting Policies - Narrative (Details)
$ in Thousands
12 Months Ended
Jun. 30, 2026
USD ($)
segment
Jun. 30, 2025
USD ($)
Jun. 30, 2024
USD ($)
Summary of Significant Accounting Policies [Line Items]      
Number of operating segments | segment 2    
Cash and cash equivalents $ 1,469,234 $ 1,209,450  
Depreciation 103,000 112,000 $ 89,000
High Yield Cash and Cash Equivalent      
Summary of Significant Accounting Policies [Line Items]      
Cash and cash equivalents 577,000    
Currency Swap | Fair Value And Net Investment Hedging      
Summary of Significant Accounting Policies [Line Items]      
Outstanding foreign cross-currency swaps 3,412,000 1,128,000  
Foreign currency hedging instruments | Non-Designated Hedges      
Summary of Significant Accounting Policies [Line Items]      
Outstanding foreign cross-currency swaps $ 1,285,000 $ 1,410,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     $ 19,000
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     $ 15,000
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