XML 35 R24.htm IDEA: XBRL DOCUMENT
v3.21.1

Debt (Tables) | 9 Months Ended
--- | ---
Mar. 31, 2021
Debt |
Schedule of components of debt | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | March 31, 2021 |  | June 30, 2020
​ |  | (in thousands)
​ | ​ | ​ | ​ | ​ | ​ | ​
Convertible Senior Notes due 2027 | ​ | $ | 420,000 | ​ | $ | —
Less: unamortized discount | ​ | ​ | (117,027) | ​ | ​ | —
Less: unamortized debt issuance costs | ​ | ​ | (7,585) | ​ | ​ | —
Total debt | ​ | ​ | 295,388 | ​ | ​ | —
Less: current portion of debt | ​ | ​ | — | ​ | ​ | —
Long-term debt | ​ | $ | 295,388 | ​ | $ | —

X
- References No definition available. + Details
Name: | us-gaap_DebtDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation. + References No definition available. + Details
Name: | us-gaap_ScheduleOfDebtTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration