XML 45 R34.htm IDEA: XBRL DOCUMENT v3.10.0.1
Long-term Debt - Long-Term Debt and Unamortized Debt Discount Balances (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
Dec. 31, 2017
Debt Instrument [Line Items]    
Long-term debt $ 111,283 $ 102,647
HCRP | Royalty-backed loan agreement    
Debt Instrument [Line Items]    
Total repayment obligation 200,000 200,000
Less: Interest to be accreted in future periods (87,415) (97,353)
Less: Payments made (368) 0
Carrying value of loans payable 112,217 102,647
Less: Current portion of long-term debt (934) 0
Long-term debt $ 111,283 $ 102,647