Consolidated Statements of Redeemable Convertible and Convertible Preferred Stock and Stockholders' Equity - USD ($) $ in Thousands | Total | Series A Convertible Preferred Stock [Member] | Series B-1 Convertible Preferred Stock [Member] | Series B-2 Convertible Preferred Stock [Member] | Series D Redeemable Convertible Preferred Stock [Member] | Enterprise Junior Stock [Member] | Series C Convertible Preferred Stock [Member] | Common Stock | Additional Paid-In Capital [Member] | (Accumulated Deficit) Retained Earnings [Member] |
Balance at Dec. 31, 2019 | $ 18,246 | | | | | $ 3 | | $ 2 | $ 1,116 | $ 16,740 |
Temporary equity balance, Shares at Dec. 31, 2019 | | 2,304,815 | 14,921,676 | 8,790,249 | 53,593,440 | | 6,452,619 | | | |
Temporary equity balance, Value at Dec. 31, 2019 | | $ 4,656 | $ 20,907 | $ 12,272 | $ 100,296 | | $ 385 | | | |
Balance, Shares at Dec. 31, 2019 | | | | | | 2,597,091 | | 2,250,696 | | |
Accretion of cumulative dividends on Series D redeemable convertible preferred stock | (1,936) | | | | $ 1,936 | | | | | (1,936) |
Exercise of options to purchase common stock | 3 | | | | | | | | 3 | |
Exercise of options to purchase common stock, Shares | | | | | | | | 496 | | |
Exercise of warrant to purchase common stock | 12 | | | | | | | | 12 | |
Exercise of warrant to purchase common stock, Shares | | | | | | | | 297,241 | | |
Equity-based compensation | 1,210 | | | | | | | | 1,210 | |
Equity-based compensation, Shares | | | | | | 38,339 | | | | |
Net income (loss) and comprehensive income (loss) | 11,230 | | | | | | | | | 11,230 |
Balance at Mar. 31, 2020 | 28,765 | | | | | $ 3 | | $ 2 | 2,341 | 26,034 |
Temporary equity balance, Shares at Mar. 31, 2020 | | 2,304,815 | 14,921,676 | 8,790,249 | 53,593,440 | | 6,452,619 | | | |
Temporary equity balance, Value at Mar. 31, 2020 | | $ 4,656 | $ 20,907 | $ 12,272 | $ 102,232 | | $ 385 | | | |
Balance, Shares at Mar. 31, 2020 | | | | | | 2,635,430 | | 2,548,433 | | |
Balance at Dec. 31, 2019 | 18,246 | | | | | $ 3 | | $ 2 | 1,116 | 16,740 |
Temporary equity balance, Shares at Dec. 31, 2019 | | 2,304,815 | 14,921,676 | 8,790,249 | 53,593,440 | | 6,452,619 | | | |
Temporary equity balance, Value at Dec. 31, 2019 | | $ 4,656 | $ 20,907 | $ 12,272 | $ 100,296 | | $ 385 | | | |
Balance, Shares at Dec. 31, 2019 | | | | | | 2,597,091 | | 2,250,696 | | |
Net income (loss) and comprehensive income (loss) | (14,210) | | | | | | | | | |
Balance at Jun. 30, 2020 | 438,497 | | | | | | | $ 41 | 439,662 | (1,206) |
Balance, Shares at Jun. 30, 2020 | | | | | | | | 41,016,181 | | |
Balance at Mar. 31, 2020 | 28,765 | | | | | $ 3 | | $ 2 | 2,341 | 26,034 |
Temporary equity balance, Shares at Mar. 31, 2020 | | 2,304,815 | 14,921,676 | 8,790,249 | 53,593,440 | | 6,452,619 | | | |
Temporary equity balance, Value at Mar. 31, 2020 | | $ 4,656 | $ 20,907 | $ 12,272 | $ 102,232 | | $ 385 | | | |
Balance, Shares at Mar. 31, 2020 | | | | | | 2,635,430 | | 2,548,433 | | |
Accretion of cumulative dividends on Series D redeemable convertible preferred stock | (1,800) | | | | 1,800 | | | | | (1,800) |
Exercise of options to purchase common stock | 142 | | | | | | | | 142 | |
Exercise of options to purchase common stock, Shares | | | | | | | | 28,051 | | |
Equity-based compensation | 1,256 | | | | | | | | 1,256 | |
Equity-based compensation, Shares | | | | | | 25,440 | | | | |
Conversion of redeemable convertible and convertible preferred stock into common stock | 141,867 | $ (4,656) | $ (20,907) | $ (12,272) | $ (104,032) | | $ (385) | $ 21 | 142,231 | |
Conversion of redeemable convertible and convertible preferred stock into common stock, Shares | | (2,304,815) | (14,921,676) | (8,790,249) | (53,593,440) | | (6,452,619) | 20,349,223 | | |
Conversion of enterprise junior stock into common stock | | | | | | $ (3) | | $ 2 | 1 | |
Conversion of enterprise junior stock into common stock, Shares | | | | | | (2,660,870) | | 2,124,845 | | |
Issuance of common stock from initial public offering, net of issuance costs | 293,707 | | | | | | | $ 16 | 293,691 | |
Issuance of common stock from initial public offering, net of issuance costs, Shares | | | | | | | | 15,964,704 | | |
Vesting of restricted common stock, Shares | | | | | | | | 925 | | |
Net income (loss) and comprehensive income (loss) | (25,440) | | | | | | | | | (25,440) |
Balance at Jun. 30, 2020 | 438,497 | | | | | | | $ 41 | 439,662 | (1,206) |
Balance, Shares at Jun. 30, 2020 | | | | | | | | 41,016,181 | | |
Balance at Dec. 31, 2020 | 648,244 | | | | | | | $ 47 | 705,607 | (57,410) |
Balance, Shares at Dec. 31, 2020 | | | | | | | | 47,248,685 | | |
Exercise of options to purchase common stock | 333 | | | | | | | | 333 | |
Exercise of options to purchase common stock, Shares | | | | | | | | 68,389 | | |
Equity-based compensation | 3,848 | | | | | | | | 3,848 | |
Vesting of restricted common stock, Shares | | | | | | | | 11,501 | | |
Net income (loss) and comprehensive income (loss) | (35,960) | | | | | | | | | (35,960) |
Balance at Mar. 31, 2021 | 616,465 | | | | | | | $ 47 | 709,788 | (93,370) |
Balance, Shares at Mar. 31, 2021 | | | | | | | | 47,328,575 | | |
Balance at Dec. 31, 2020 | $ 648,244 | | | | | | | $ 47 | 705,607 | (57,410) |
Balance, Shares at Dec. 31, 2020 | | | | | | | | 47,248,685 | | |
Exercise of options to purchase common stock, Shares | 86,041 | | | | | | | | | |
Net income (loss) and comprehensive income (loss) | $ (79,545) | | | | | | | | | |
Balance at Jun. 30, 2021 | 579,395 | | | | | | | $ 47 | 716,303 | (136,955) |
Balance, Shares at Jun. 30, 2021 | | | | | | | | 47,354,879 | | |
Balance at Mar. 31, 2021 | 616,465 | | | | | | | $ 47 | 709,788 | (93,370) |
Balance, Shares at Mar. 31, 2021 | | | | | | | | 47,328,575 | | |
Exercise of options to purchase common stock | 92 | | | | | | | | 92 | |
Exercise of options to purchase common stock, Shares | | | | | | | | 17,652 | | |
Equity-based compensation | 6,423 | | | | | | | | 6,423 | |
Vesting of restricted common stock, Shares | | | | | | | | 8,652 | | |
Net income (loss) and comprehensive income (loss) | (43,585) | | | | | | | | | (43,585) |
Balance at Jun. 30, 2021 | $ 579,395 | | | | | | | $ 47 | $ 716,303 | $ (136,955) |
Balance, Shares at Jun. 30, 2021 | | | | | | | | 47,354,879 | | |