XML 71 R59.htm IDEA: XBRL DOCUMENT v3.20.2
Convertible Notes - Summary of Issuance of Convertible Debt (Details) - Convertible Debt - USD ($)
$ in Thousands
Jun. 30, 2020
Dec. 31, 2019
Dec. 21, 2016
Debt Instrument [Line Items]      
Gross proceeds $ 107,000 $ 107,000  
Unamortized debt discounts and deferred financing offering costs (10,353) (13,488)  
Net carrying amount 96,647 93,512 $ 81,580
Related Party      
Debt Instrument [Line Items]      
Gross proceeds 10,000 10,000  
Unamortized debt discounts and deferred financing offering costs (871) (1,136)  
Net carrying amount 9,129 8,864  
Others      
Debt Instrument [Line Items]      
Gross proceeds 97,000 97,000  
Unamortized debt discounts and deferred financing offering costs (9,482) (12,352)  
Net carrying amount $ 87,518 $ 84,648