v3.26.1
Debt - Schedule of the Interest Expense Recognized Related to the Convertible Senior Notes (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Line of Credit Facility [Line Items]      
Total amortization of debt issuance costs $ 28,232 $ 30,389 $ 24,546
Total interest expenses related to the convertible notes 454,016 425,451 344,253
Convertible Debt      
Line of Credit Facility [Line Items]      
Total amortization of debt issuance costs 3,871 3,488 3,400
Coupon interest expense 6,900 3,656 0
Total interest expenses related to the convertible notes 10,771 7,144 3,400
Convertible Debt | 2026 Notes      
Line of Credit Facility [Line Items]      
Total amortization of debt issuance costs 536 1,724 3,400
Convertible Debt | 2029 Notes      
Line of Credit Facility [Line Items]      
Total amortization of debt issuance costs $ 3,336 $ 1,764 $ 0