Debt - Schedule of Interest Expense Recognized Related to the Convertible Senior Notes (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2025 |
Dec. 31, 2024 |
|
| Line of Credit Facility [Line Items] | ||||
| Total amortization of debt issuance costs | $ 14,072 | $ 12,990 | ||
| Total interest expenses related to the convertible notes | $ 111,717 | $ 107,762 | 221,744 | 211,907 |
| Convertible Debt | ||||
| Line of Credit Facility [Line Items] | ||||
| Total amortization of debt issuance costs | 975 | 768 | 1,953 | 1,537 |
| Coupon interest expense | 1,736 | 227 | 3,471 | 227 |
| Total interest expenses related to the convertible notes | 2,712 | 995 | 5,423 | 1,764 |
| 2026 Notes | Convertible Debt | ||||
| Line of Credit Facility [Line Items] | ||||
| Total amortization of debt issuance costs | 135 | 658 | 271 | 1,427 |
| 2029 Notes | Convertible Debt | ||||
| Line of Credit Facility [Line Items] | ||||
| Total amortization of debt issuance costs | $ 841 | $ 110 | $ 1,682 | $ 110 |
| X | ||||||||||
- Definition Amount of amortization expense attributable to debt issuance costs. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of interest expense classified as operating and nonoperating. Includes, but is not limited to, cost of borrowing accounted for as interest expense. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the cost of borrowed funds accounted for as interest expense for debt. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|