CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT) - USD ($) $ in Thousands | Convertible preferred stock | Common StockClass A Common Stock | Common StockClass B Common Stock | Additional Paid-In Capital | Accumulated Deficit | Class A Common Stock | Class B Common Stock | Total |
Convertible Preferred Stock, Balance at beginning of the period at Dec. 31, 2019 | $ 360,937 | | | | | | | |
Convertible Preferred Stock, Balance at beginning of the period (in shares) at Dec. 31, 2019 | 107,197,118 | | | | | | | |
Convertible Preferred Stock, Balance at end of the period at Sep. 30, 2020 | $ 360,937 | | | | | | | |
Convertible Preferred Stock, Balance at end of the period (in shares) at Sep. 30, 2020 | 107,197,118 | | | | | | | |
Balance at beginning of the period at Dec. 31, 2019 | | $ 1 | | $ 19,782 | $ (232,061) | | | $ (212,278) |
Balance at beginning of the period (in shares) at Dec. 31, 2019 | | 5,939,950 | | | | | | |
Increase (Decrease) in Stockholders' Equity | | | | | | | | |
Net loss | | | | | (139,803) | | | (139,803) |
Common stock issued upon exercise of stock options | | | | 391 | | | | 391 |
Common stock issued upon exercise of stock options (in shares) | | 150,510 | | | | | | |
Stock-based compensation expense | | | | 7,796 | | | | 7,796 |
Balance at end of the period at Sep. 30, 2020 | | $ 1 | | 27,969 | (371,864) | | | (343,894) |
Balance at end of the period (in shares) at Sep. 30, 2020 | | 6,090,460 | | | | | | |
Convertible Preferred Stock, Balance at beginning of the period at Dec. 31, 2019 | $ 360,937 | | | | | | | |
Convertible Preferred Stock, Balance at beginning of the period (in shares) at Dec. 31, 2019 | 107,197,118 | | | | | | | |
Convertible Preferred Stock, Balance at end of the period at Dec. 31, 2020 | $ 360,937 | | | | | | | 360,937 |
Convertible Preferred Stock, Balance at end of the period (in shares) at Dec. 31, 2020 | 107,197,118 | | | | | | | |
Balance at beginning of the period at Dec. 31, 2019 | | $ 1 | | 19,782 | (232,061) | | | (212,278) |
Balance at beginning of the period (in shares) at Dec. 31, 2019 | | 5,939,950 | | | | | | |
Increase (Decrease) in Stockholders' Equity | | | | | | | | |
Conversion of convertible debt | | | | | | | | 49,900 |
Balance at end of the period at Dec. 31, 2020 | | $ 1 | | 32,874 | (394,806) | | | (361,931) |
Balance at end of the period (in shares) at Dec. 31, 2020 | | 6,593,291 | | | | 6,593,291 | 0 | |
Convertible Preferred Stock, Balance at beginning of the period at Jun. 30, 2020 | $ 360,937 | | | | | | | |
Convertible Preferred Stock, Balance at beginning of the period (in shares) at Jun. 30, 2020 | 107,197,118 | | | | | | | |
Convertible Preferred Stock, Balance at end of the period at Sep. 30, 2020 | $ 360,937 | | | | | | | |
Convertible Preferred Stock, Balance at end of the period (in shares) at Sep. 30, 2020 | 107,197,118 | | | | | | | |
Balance at beginning of the period at Jun. 30, 2020 | | $ 1 | | 25,393 | (279,656) | | | (254,262) |
Balance at beginning of the period (in shares) at Jun. 30, 2020 | | 6,045,858 | | | | | | |
Increase (Decrease) in Stockholders' Equity | | | | | | | | |
Net loss | | | | | (92,208) | | | (92,208) |
Common stock issued upon exercise of stock options | | | | 167 | | | | 167 |
Common stock issued upon exercise of stock options (in shares) | | 44,602 | | | | | | |
Stock-based compensation expense | | | | 2,409 | | | | 2,409 |
Balance at end of the period at Sep. 30, 2020 | | $ 1 | | 27,969 | (371,864) | | | (343,894) |
Balance at end of the period (in shares) at Sep. 30, 2020 | | 6,090,460 | | | | | | |
Convertible Preferred Stock, Balance at beginning of the period at Dec. 31, 2020 | $ 360,937 | | | | | | | 360,937 |
Convertible Preferred Stock, Balance at beginning of the period (in shares) at Dec. 31, 2020 | 107,197,118 | | | | | | | |
Increase (Decrease) in Stockholders' Equity | | | | | | | | |
Conversion of convertible preferred stock | $ (360,937) | | | | | | | |
Conversion of convertible preferred stock (in shares) | (107,197,118) | | | | | | | |
Balance at beginning of the period at Dec. 31, 2020 | | $ 1 | | 32,874 | (394,806) | | | (361,931) |
Balance at beginning of the period (in shares) at Dec. 31, 2020 | | 6,593,291 | | | | 6,593,291 | 0 | |
Increase (Decrease) in Stockholders' Equity | | | | | | | | |
Net loss | | | | | (17,193) | | | (17,193) |
Common stock issued upon exercise of stock options | | | | | | | | 19,323 |
Common stock issued upon exercise of stock options and warrants | | $ 1 | | 19,322 | | | | |
Common stock issued upon exercise of stock options and warrants (in shares) | | 8,268,869 | | | | | | |
Common stock issued upon vesting of restricted stock units (in shares) | | 597,021 | | | | | | |
Conversion of convertible preferred stock | | $ 8 | $ 3 | 360,926 | | | | 360,937 |
Conversion of convertible preferred stock (in shares) | | 80,770,178 | 26,426,937 | | | | | |
Conversion of convertible debt | | $ 1 | | 49,916 | | | | 49,917 |
Conversion of convertible debt (in shares) | | 5,115,140 | | | | | | |
Net equity infusion from the Business Combination | | $ 6 | | 361,281 | | | | 361,287 |
Net equity infusion from the Business Combination (in shares) | | 69,228,811 | | | | | | |
Stock-based compensation expense | | | | 38,921 | | | | 38,921 |
Balance at end of the period at Sep. 30, 2021 | | $ 17 | $ 3 | 863,240 | (411,999) | | | 451,261 |
Balance at end of the period (in shares) at Sep. 30, 2021 | | 170,573,310 | 26,426,937 | | | 170,573,310 | 26,426,937 | |
Balance at beginning of the period at Jun. 30, 2021 | | $ 17 | $ 3 | 844,770 | (398,438) | | | 446,352 |
Balance at beginning of the period (in shares) at Jun. 30, 2021 | | 167,477,126 | 26,426,937 | | | | | |
Increase (Decrease) in Stockholders' Equity | | | | | | | | |
Net loss | | | | | (13,561) | | | (13,561) |
Common stock issued upon exercise of stock options and warrants | | | | 7,634 | | | | 7,634 |
Common stock issued upon exercise of stock options and warrants (in shares) | | 2,966,397 | | | | | | |
Common stock issued upon vesting of restricted stock units (in shares) | | 129,787 | | | | | | |
Stock-based compensation expense | | | | 10,836 | | | | 10,836 |
Balance at end of the period at Sep. 30, 2021 | | $ 17 | $ 3 | $ 863,240 | $ (411,999) | | | $ 451,261 |
Balance at end of the period (in shares) at Sep. 30, 2021 | | 170,573,310 | 26,426,937 | | | 170,573,310 | 26,426,937 | |