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.21.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, 2021
USD ($)
Warrant liabilities  
Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Line Items]  
Beginning balance $ 51,156
Loan Agreement warrants 362
Gain (loss) adjustment to fair value (16,567)
Ending balance 34,951
Derivative liabilities  
Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Line Items]  
Beginning balance 5,954
Adjustment for conversion of April 2020 Notes (3,426)
Gain (loss) adjustment to fair value (372)
Ending balance $ 2,156