Fair value measurements - Reconciliation of change in Fair value of warrant liability (Details) $ in Thousands |
12 Months Ended |
---|---|
Dec. 31, 2020
USD ($)
| |
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items] | |
Change in fair value of warrant liability | $ 5,538 |
Common stock warrants | |
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items] | |
Issuance of warrants on June 2, 2020 | 1,522 |
Change in fair value of warrant liability | 5,538 |
Reclass of warrant liability to additional paid-in capital upon IPO | $ (7,060) |