XML 48 R32.htm IDEA: XBRL DOCUMENT v3.7.0.1
Long-term Debt - Long-Term Debt and Unamortized Debt Discount Balances (Details) - USD ($)
$ in Thousands
Jun. 30, 2017
Dec. 31, 2016
Debt Instrument [Line Items]    
Long-term debt $ 33,768 $ 0
HCRP | Royalty-backed loan agreement    
Debt Instrument [Line Items]    
Loans payable, gross 35,000  
Less: Unamortized debt discount and issuance costs (1,888)  
Plus: Unpaid portion of quarterly interest payment 656  
Carrying value of loans payable 33,768  
Less: Current portion of long-term debt 0  
Long-term debt $ 33,768