Fair Value Measurements - Disclosure Summary Of Changes In Fair Value Of Warrants Liability (Detail) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2020 |
Dec. 31, 2019 |
Dec. 31, 2018 |
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | |||
| Balance at the beginning | $ 42,628 | $ 76,069 | |
| Net exercises in the period | (10,810) | (33,444) | |
| Change in fair value of warrants | (811) | 3 | $ (48,093) |
| Reclassification to additional paid-in capital in result of conversion of preferred stock warrants to common stock warrants | 31,007 | ||
| Balance at the ending | 0 | $ 42,628 | $ 76,069 |
| Conversion Of Preferred Stock Warrants To Common Stock Warrants [Member] | |||
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | |||
| Reclassification to additional paid-in capital in result of conversion of preferred stock warrants to common stock warrants | $ (31,007) | ||