Debt - Schedule of Interest Expense Recognized Related to the Convertible Senior Notes (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Sep. 30, 2026 |
Sep. 30, 2025 |
|
| Line of Credit Facility [Line Items] | ||
| Total amortization of debt issuance costs | $ 8,058 | $ 6,828 |
| Total interest expenses related to the convertible notes | 134,373 | 110,027 |
| Convertible Debt | ||
| Line of Credit Facility [Line Items] | ||
| Total amortization of debt issuance costs | 975 | 977 |
| Coupon interest expense | 1,734 | 1,734 |
| Total interest expenses related to the convertible notes | 2,709 | 2,712 |
| 2026 Notes | Convertible Debt | ||
| Line of Credit Facility [Line Items] | ||
| Total amortization of debt issuance costs | 134 | 137 |
| 2029 Notes | Convertible Debt | ||
| Line of Credit Facility [Line Items] | ||
| Total amortization of debt issuance costs | $ 841 | $ 841 |
| X | ||||||||||
- Definition Amount of amortization expense attributable to debt issuance costs. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| 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/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|