Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements - Summary of Reconciliation of Beginning and Ending Balances for Liabilities Measured at Fair Value on Recurring Basis (Details)

v3.20.2
Fair Value Measurements - Summary of Reconciliation of Beginning and Ending Balances for Liabilities Measured at Fair Value on Recurring Basis (Details)
$ in Thousands
6 Months Ended
Jun. 30, 2020
USD ($)
Warrant liability  
Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Line Items]  
Beginning balance $ 18,396
Gain adjustment to fair value (8,329)
Ending balance 10,067
Derivative liabilities  
Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Line Items]  
Beginning balance 3,192
Bifurcated embedded conversion option associated with April 2020 Notes 8,110
Adjustment for partial conversion of April 2020 Notes (1,612)
Gain adjustment to fair value (1,794)
Ending balance $ 7,896