Quarterly report pursuant to Section 13 or 15(d)

Basis of presentation, principles of consolidation and significant accounting policies - Fair Value Measurement (Details)

v3.19.3
Basis of presentation, principles of consolidation and significant accounting policies - Fair Value Measurement (Details) - Fair Value, Inputs, Level 3 - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2019
Sep. 30, 2019
Warrant Liability Current    
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation    
Balance, beginning of period $ 6,944 $ 180
Reclass of liability from long-term to current 0 1,328
Exercise of warrants 0 (3,174)
Issuances of warrants 0 11,545
Change in fair value - net (124) (3,059)
Balance, end of period 6,820 6,820
Warrant Liability Long-Term    
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation    
Balance, beginning of period 0 1,328
Reclass of liability from long-term to current 0 (1,328)
Exercise of warrants 0 0
Issuances of warrants 0 0
Change in fair value - net 0 0
Balance, end of period 0 0
Warrant Liability Total    
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation    
Balance, beginning of period 6,944 1,508
Reclass of liability from long-term to current 0 0
Exercise of warrants 0 (3,174)
Issuances of warrants 0 11,545
Change in fair value - net (124) (3,059)
Balance, end of period $ 6,820 $ 6,820