XML 65 R53.htm IDEA: XBRL DOCUMENT v3.20.2
CONVERTIBLE NOTES PAYABLE - Composition of Notes (Details) - Senior Notes - USD ($)
$ in Thousands
Jun. 30, 2020
Dec. 31, 2019
Sep. 10, 2018
Senior Notes Due 2025      
Debt Instrument [Line Items]      
Interest rate percentage 2.50%   2.50%
Long-term debt, gross $ 276,000 $ 276,000  
Unamortized debt discount (61,265) (65,963)  
Unamortized debt issuance costs (4,726) (5,176)  
Long-term debt $ 210,009 $ 204,861  
Convertible Notes Due 2019      
Debt Instrument [Line Items]      
Interest rate percentage 4.50%