XML 88 R74.htm IDEA: XBRL DOCUMENT v3.19.1
DEBT - Summary of Liability Component of Convertible Notes (Details) - USD ($)
$ in Thousands
Dec. 31, 2018
Dec. 31, 2017
Debt Instrument [Line Items]    
Total $ 158,309 $ 274,720
Convertible debt    
Debt Instrument [Line Items]    
Principal amount of the Convertible Notes 345,000 345,000
Unamortized discount of the liability component (54,521) (71,799)
Unamortized debt issuance costs (2,681) (3,691)
Total $ 287,798 $ 269,510