XML 64 R49.htm IDEA: XBRL DOCUMENT v3.20.2
Debt - Summary of Information about the Equity and Liability Components of Notes (Details) - USD ($)
3 Months Ended 6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Feb. 10, 2020
Dec. 31, 2019
Apr. 15, 2019
Debt Instrument [Line Items]              
Total long-term portion of notes payable $ 103,849,000   $ 103,849,000     $ 62,414,000  
Convertible Notes              
Debt Instrument [Line Items]              
Contractual interest expense 1,000,000 $ 498,000 2,015,000 $ 644,000      
Amortization of debt issuance costs and discount 1,102,000 746,000 2,059,000 746,000      
Total interest expense 2,102,000 $ 1,244,000 4,074,000 $ 1,390,000      
Convertible Notes | Convertible Senior Notes due 2024              
Debt Instrument [Line Items]              
Principal amount of Notes outstanding 13,750,000   13,750,000       $ 80,000,000.0
Unamortized discount (including unamortized debt issuance cost) (3,055,000)   (3,055,000)        
Total long-term portion of notes payable 10,695,000   10,695,000        
Convertible Notes | Convertible Senior Notes Due 2026              
Debt Instrument [Line Items]              
Principal amount of Notes outstanding 120,000,000   120,000,000   $ 120,000,000.0    
Unamortized discount (including unamortized debt issuance cost) (27,884,000)   (27,884,000)        
Total long-term portion of notes payable $ 92,116,000   $ 92,116,000