XML 51 R35.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt - Components (Details) - USD ($)
$ in Thousands
Sep. 30, 2017
Dec. 31, 2016
Convertible Debt    
Debt Instrument [Line Items]    
Principal $ 105,125 $ 120,000
Less: unamortized debt discount and debt issuance costs (22,422) (29,092)
Net carrying amount 82,703 90,908
Equity component 41,905 $ 38,305
Term Loan | Secured Debt    
Debt Instrument [Line Items]    
Principal 48,000  
Less: unamortized debt discount and debt issuance costs (4,318)  
Net carrying amount $ 43,682