XML 56 R41.htm IDEA: XBRL DOCUMENT v3.19.1
DEBT - Summary of Interest Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Mar. 31, 2019
Mar. 31, 2018
Debt Instrument [Line Items]        
Total interest expense $ 2,863 $ 2,361 $ 8,261 $ 8,407
Line of Credit | Silicon Valley Bank Term Loan | Term loan        
Debt Instrument [Line Items]        
Simple and contractual interest 431 100 1,115 280
Amortization of prepaid fees for line of credit 257 80 688 242
Amortization of debt discount 0 14 29 99
Total interest expense 688 194 1,832 621
Convertible Senior Notes        
Debt Instrument [Line Items]        
Simple and contractual interest 835 835 2,505 2,723
Amortization of prepaid fees for line of credit 76 69 223 257
Amortization of debt discount 1,257 1,141 3,682 4,432
Total interest expense 2,168 2,045 6,410 7,412
Other Debt [Member]        
Debt Instrument [Line Items]        
Simple and contractual interest 7 122 19 374
Total interest expense $ 7 $ 122 $ 19 $ 374