XML 48 R35.htm IDEA: XBRL DOCUMENT v3.7.0.1
Debt - Components (Details) - USD ($)
$ in Thousands
Jun. 30, 2017
Dec. 31, 2016
Term Loan    
Debt Instrument [Line Items]    
Principal $ 20,000  
Less: unamortized debt discount and debt issuance costs (2,065)  
Net carrying amount 17,935  
Convertible Debt    
Debt Instrument [Line Items]    
Principal 120,000 $ 120,000
Less: unamortized debt discount and debt issuance costs (27,969) (29,092)
Net carrying amount 92,031 90,908
Equity component $ 41,905 $ 38,305