XML 34 R24.htm IDEA: XBRL DOCUMENT v3.21.4
Debt (Tables)
6 Months Ended
Dec. 31, 2021
Debt  
Schedule of components of debt

​

​

​

​

​

​

​

​

​

    

​

​

​

​

​

​

    

December 31, 2021

​

June 30, 2021

​

​

(in thousands)

​

​

​

​

​

​

​

Convertible Senior Notes due 2027

​

$

420,000

​

$

420,000

Less: unamortized discount

​

​

—

​

​

(113,331)

Less: unamortized debt issuance costs

​

​

(9,326)

​

​

(7,398)

Total debt

​

​

410,674

​

​

299,271

Less: current portion of debt

​

​

—

​

​

—

Long-term debt

​

$

410,674

​

$

299,271