XML 37 R22.htm IDEA: XBRL DOCUMENT v3.19.1
DEBT (Tables)
9 Months Ended
Mar. 31, 2019
Debt Disclosure [Abstract]  
Schedule of debt
Outstanding debt consists of the following (in thousands):
 
March 31,
 
June 30,
 
2019
 
2018
Notes payable at fair value
$
—

 
$
15,899

 
 
 
 
2024 convertible senior notes
$
126,060

 
$
126,060

Silicon Valley Bank term loan (1)
53,500

 
16,200

Long-term debt, gross
179,560

 
142,260

Less: Unamortized debt discount and fees
(45,315
)
 
(46,384
)
Long-term debt, net
134,245

 
95,876

Less: Current portion
—

 
(2,500
)
Long-term debt, non-current portion
$
134,245

 
$
93,376


(1) Outstanding debt owed to Silicon Valley Bank includes a final payment fee of $3.5 million and $1.2 million as of March 31, 2019 and June 30, 2018, respectively.
Schedule of interest expense
The following table shows the details of our interest expense for all of our debt arrangements outstanding during the periods presented, including contractual interest, and amortization of debt discount, debt issuance costs and loan transaction fees that were charged to interest expense (in thousands):
 
Three Months Ended
 
Nine Months Ended
 
March 31,
 
March 31,
 
2019
 
2018
 
2019
 
2018
Silicon Valley Bank Term Loan
 
 
 
 
 
 
 
Simple interest
431

 
100

 
$
1,115

 
$
280

Amortization of prepaid fees for line of credit
—

 
14

 
29

 
99

Amortization of debt discount
257

 
80

 
688

 
242

Total interest expense on Silicon Valley Bank term loan
688

 
194

 
1,832

 
621

Convertible Senior Notes (1)
 
 
 
 
 
 
 
Contractual interest
835

 
835

 
2,505

 
2,723

Amortization of debt discount
1,257

 
1,141

 
3,682

 
4,432

Amortization of debt issuance costs
76

 
69

 
223

 
257

Total interest expense on convertible senior notes
2,168

 
2,045

 
6,410

 
7,412

Other Debt
 
 
 
 
 
 
 
Simple interest
7

 
122

 
19

 
374

Total interest expense on other debt
7

 
122

 
19

 
374

Total interest expense
$
2,863

 
$
2,361

 
$
8,261

 
$
8,407


(1) Includes the 2024 Notes and 2020 Notes (retired)