Convertible Notes (Details) - USD ($) |
12 Months Ended | |||||
|---|---|---|---|---|---|---|
Mar. 03, 2025 |
Mar. 11, 2019 |
Mar. 01, 2019 |
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Debt Instrument [Line Items] | ||||||
| Repayments of convertible debt | $ 0 | $ 156,168,000 | $ 0 | |||
| Outstanding amount | 1,878,595,000 | 2,103,554,000 | ||||
| Debt financing costs | 14,128,000 | 18,842,000 | ||||
| Convertible Notes | ||||||
| Debt Instrument [Line Items] | ||||||
| Interest expense | $ 0 | $ 7,287,000 | $ 10,884,000 | |||
| Convertible Notes | 2025 Notes | ||||||
| Debt Instrument [Line Items] | ||||||
| Face amount | $ 26,250,000 | $ 175,000,000 | ||||
| Option to purchase term | 13 days | |||||
| Optional over-allotment amount | $ 26,250,000 | |||||
| Stated rate | 6.375% | 6.375% | ||||
| Proceeds from debt, net of issuance costs | $ 198,674,000 | |||||
| Repayments of convertible debt | $ 156,168,000 | |||||
| X | ||||||||||
- Definition Debt Instrument, Face Amount, Optional Over-Allotment No definition available.
|
| X | ||||||||||
- Definition Debt, Option to Purchase Term No definition available.
|
| X | ||||||||||
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Face (par) amount of debt instrument at time of issuance. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Contractual interest rate for funds borrowed, under the debt agreement. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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 | ||||||||||
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| 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 The cash inflow from additional borrowings, net of cash paid to third parties in connection with debt origination. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The cash outflow from the repayment of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|