XML 105 R85.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Debt and Borrowings - Credit Agreements - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands, shares in Millions
12 Months Ended
May 29, 2024
Mar. 06, 2024
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2022
Debt Instrument [Line Items]          
Amortization of debt issuance costs     $ 6,238 $ 6,964 $ 4,777
Weighted-average remaining life     2 years 6 months    
Proceeds from unwind of capped calls $ 1,200 $ 10,300 $ 11,442 0 $ 0
Gain on mark to market derivatives   $ 1,700      
Derivative, Gain, Statement of Income or Comprehensive Income [Extensible Enumeration]     Other income (expense), net    
2027 Notes          
Debt Instrument [Line Items]          
Effective interest rate     0.48%    
Capped call, initial strike price (dollars per share)     $ 414.80    
Capped call, initial cap price (dollars per share)     $ 544.00    
Cap calls cover subject to anti-dilution adjustments to common stock (shares)     1.4    
2025 Notes          
Debt Instrument [Line Items]          
Effective interest rate     0.36%    
2025 and 2027 Senior Notes Member          
Debt Instrument [Line Items]          
Amortization of debt issuance costs     $ 6,000 $ 6,800  
Debt instrument, aggregate principal amount if converted     700,000    
Cost of capped call     $ 125,800