XML 81 R63.htm IDEA: XBRL DOCUMENT v3.10.0.1
DEBT - Summary of Liability Component of Convertible Notes (Details) - USD ($)
$ in Thousands
Sep. 30, 2018
Dec. 31, 2017
Debt Instrument [Line Items]    
Total $ 177,466 $ 274,720
Convertible debt    
Debt Instrument [Line Items]    
Principal amount of the Convertible Notes 345,000 345,000
Unamortized discount of the liability component (59,006) (71,799)
Unamortized debt issuance costs (2,933) (3,691)
Total $ 283,061 $ 269,510