XML 28 R58.htm IDEA: XBRL DOCUMENT v3.19.3
DEBT - Summary of Liability Component of Convertible Notes (Details) - USD ($)
$ in Thousands
Sep. 30, 2019
Aug. 13, 2019
Dec. 31, 2018
Debt Instrument [Line Items]      
Total $ 94,661   $ 158,309
2.50% Convertible Notes due 2021 | Convertible debt      
Debt Instrument [Line Items]      
Principal amount of the Notes 145,000   345,000
Unamortized discount of the liability component (17,016)   (54,521)
Unamortized debt issuance costs (817)   (2,681)
Total 127,166   $ 287,798
5.00% Convertible Notes due 2024 | Convertible debt      
Debt Instrument [Line Items]      
Principal amount of the Notes 120,000    
Unamortized discount of the liability component (53,407) $ (54,200)  
Unamortized debt issuance costs (2,836)    
Total $ 63,757