Condensed Consolidated Statement of Changes in Redeemable Convertible Preferred Stock and Stockholders Deficit (Unaudited) - USD ($) | Total | Initial public offering | Redeemable Convertible Preferred Stock [Member] | Redeemable Convertible Preferred Stock [Member]Initial public offering | Common Stock | Common StockInitial public offering | Additional Paid-In Capital | Additional Paid-In CapitalInitial public offering | Accumulated Deficit |
Beginning Balance at Dec. 31, 2019 | | | $ 125,647,000 | | | | | | |
Beginning Balance, Shares at Dec. 31, 2019 | | | 201,335,862 | | | | | | |
Beginning Balance at Dec. 31, 2019 | $ (91,704,000) | | | | | | $ 760,000 | | $ (92,464,000) |
Beginning Balance, Shares at Dec. 31, 2019 | | | | | 360,115 | | | | |
Accretion on preferred stock | 128,000 | | $ 129,000 | | | | 128,000 | | |
Stock-based compensation expense | 298,000 | | | | | | 298,000 | | |
Issuance of common stock upon the exercise of stock options | 8,000 | | | | | | 8,000 | | |
Issuance of common stock upon the exercise of stock options, Shares | | | | | 3,569 | | | | |
Net loss and comprehensive loss | (9,759,000) | | | | | | | | (9,759,000) |
Ending Balance at Mar. 31, 2020 | | | $ 125,776,000 | | | | | | |
Ending Balance, Shares at Mar. 31, 2020 | | | 201,335,862 | | | | | | |
Ending Balance at Mar. 31, 2020 | (101,285,000) | | | | | | 938,000 | | (102,223,000) |
Ending Balance, Shares at Mar. 31, 2020 | | | | | 363,684 | | | | |
Beginning Balance at Dec. 31, 2019 | | | $ 125,647,000 | | | | | | |
Beginning Balance, Shares at Dec. 31, 2019 | | | 201,335,862 | | | | | | |
Beginning Balance at Dec. 31, 2019 | (91,704,000) | | | | | | 760,000 | | (92,464,000) |
Beginning Balance, Shares at Dec. 31, 2019 | | | | | 360,115 | | | | |
Conversion of convertible notes into common stock at initial public offering (in shares) | 0 | | | | | | | | |
Net loss and comprehensive loss | (22,681,000) | | | | | | | | |
Ending Balance at Jun. 30, 2020 | | | $ 125,921,000 | | | | | | |
Ending Balance, Shares at Jun. 30, 2020 | | | 201,371,891 | | | | | | |
Ending Balance at Jun. 30, 2020 | (111,850,000) | | | | | | 3,295,000 | | (115,145,000) |
Ending Balance, Shares at Jun. 30, 2020 | | | | | 363,684 | | | | |
Beginning Balance at Mar. 31, 2020 | | | $ 125,776,000 | | | | | | |
Beginning Balance, Shares at Mar. 31, 2020 | | | 201,335,862 | | | | | | |
Beginning Balance at Mar. 31, 2020 | (101,285,000) | | | | | | 938,000 | | (102,223,000) |
Beginning Balance, Shares at Mar. 31, 2020 | | | | | 363,684 | | | | |
Accretion on preferred stock | 128,000 | | $ 127,000 | | | | 128,000 | | |
Issuance of Series A-2 redeemable convertible preferred stock upon the exercise of preferred warrants | | | $ 18,000 | | | | | | |
Issuance of Series A-2 redeemable convertible preferred stock upon the exercise of preferred warrants (in shares) | | | 36,029 | | | | | | |
Stock-based compensation expense | 2,485,000 | | | | | | 2,485,000 | | |
Net loss and comprehensive loss | (12,922,000) | | | | | | | | (12,922,000) |
Ending Balance at Jun. 30, 2020 | | | $ 125,921,000 | | | | | | |
Ending Balance, Shares at Jun. 30, 2020 | | | 201,371,891 | | | | | | |
Ending Balance at Jun. 30, 2020 | (111,850,000) | | | | | | 3,295,000 | | (115,145,000) |
Ending Balance, Shares at Jun. 30, 2020 | | | | | 363,684 | | | | |
Beginning Balance at Dec. 31, 2020 | $ 127,039,000 | | $ 127,039,000 | | | | | | |
Beginning Balance, Shares at Dec. 31, 2020 | 202,009,981 | | 202,009,981 | | | | | | |
Beginning Balance at Dec. 31, 2020 | $ (133,500,000) | | | | $ 0 | | 4,762,000 | | (138,262,000) |
Beginning Balance, Shares at Dec. 31, 2020 | | | | | 755,478 | | | | |
Accretion on preferred stock | 129,000 | | $ 129,000 | | | | 129,000 | | |
Stock-based compensation expense | 493,000 | | | | | | 493,000 | | |
Issuance of common stock upon the exercise of stock options | 18,000 | | | | | | 18,000 | | |
Issuance of common stock upon the exercise of stock options, Shares | | | | | 8,095 | | | | |
Net loss and comprehensive loss | (11,291,000) | | | | | | | | (11,291,000) |
Ending Balance at Mar. 31, 2021 | | | $ 127,168,000 | | | | | | |
Ending Balance, Shares at Mar. 31, 2021 | | | 202,009,981 | | | | | | |
Ending Balance at Mar. 31, 2021 | (144,409,000) | | | | $ 0 | | 5,144,000 | | (149,553,000) |
Ending Balance, Shares at Mar. 31, 2021 | | | | | 763,573 | | | | |
Beginning Balance at Dec. 31, 2020 | $ 127,039,000 | | $ 127,039,000 | | | | | | |
Beginning Balance, Shares at Dec. 31, 2020 | 202,009,981 | | 202,009,981 | | | | | | |
Beginning Balance at Dec. 31, 2020 | $ (133,500,000) | | | | $ 0 | | 4,762,000 | | (138,262,000) |
Beginning Balance, Shares at Dec. 31, 2020 | | | | | 755,478 | | | | |
Conversion of convertible notes into common stock at initial public offering (in shares) | $ 8,393,000 | | | | | | | | |
Issuance of common stock upon the exercise of stock options, Shares | 47,539 | | | | | | | | |
Net loss and comprehensive loss | $ (26,773,000) | | | | | | | | |
Ending Balance at Jun. 30, 2021 | $ 0 | | $ 0 | | | | | | |
Ending Balance, Shares at Jun. 30, 2021 | 202,009,981 | | 0 | | | | | | |
Ending Balance at Jun. 30, 2021 | $ 51,298,000 | | | | $ 19,000 | | 216,314,000 | | (165,035,000) |
Ending Balance, Shares at Jun. 30, 2021 | | | | | 19,470,914 | | | | |
Beginning Balance at Mar. 31, 2021 | | | $ 127,168,000 | | | | | | |
Beginning Balance, Shares at Mar. 31, 2021 | | | 202,009,981 | | | | | | |
Beginning Balance at Mar. 31, 2021 | (144,409,000) | | | | $ 0 | | 5,144,000 | | (149,553,000) |
Beginning Balance, Shares at Mar. 31, 2021 | | | | | 763,573 | | | | |
Proceeds from initial public offering, net of underwriters' discounts and commissions | 71,997,000 | | | | $ 5,000 | | 71,992,000 | | |
Proceeds from initial public offering, net of underwriters' discounts and commissions, Shares | | | | | 5,333,334 | | | | |
Issuance of common stock upon exercise of warrants for cash | 377,000 | | | | | | 377,000 | | |
Issuance of common stock upon exercise of warrants for cash (in shares) | | | | | 23,887 | | | | |
Issuance of common stock upon net exercise of warrants upon initial public offering | | $ 734,000 | | | | | | $ 734,000 | |
Issuance of common stock upon net exercise of warrants upon initial public offering (in shares) | | | | | | 37,628 | | | |
Issuance of common stock upon exchange of Avenue warrant | 1,763,000 | | | | | | 1,763,000 | | |
Issuance of common stock upon exchange of Avenue warrant (in shares) | | | | | 107,663 | | | | |
Conversion of redeemable convertible preferred stock to common stock upon initial public offering | | 127,168,000 | | $ (127,168,000) | | $ 13,000 | | 127,155,000 | |
Conversion of redeemable convertible preferred stock to common stock upon initial public offering, Shares | | | | (202,009,981) | | 12,605,800 | | | |
Conversion Of Convertible Notes Amount Converted At Initial Public Offering | | $ 8,393,000 | | | | $ 1,000 | | $ 8,392,000 | |
Conversion of convertible notes into common stock at initial public offering (in shares) | | | | | | $ 559,585,000 | | | |
Stock-based compensation expense | 556,000 | | | | | | 556,000 | | |
Issuance of common stock upon the exercise of stock options | 201,000 | | | | | | 201,000 | | |
Issuance of common stock upon the exercise of stock options, Shares | | | | | 39,444 | | | | |
Net loss and comprehensive loss | (15,482,000) | | | | | | | | (15,482,000) |
Ending Balance at Jun. 30, 2021 | $ 0 | | $ 0 | | | | | | |
Ending Balance, Shares at Jun. 30, 2021 | 202,009,981 | | 0 | | | | | | |
Ending Balance at Jun. 30, 2021 | $ 51,298,000 | | | | $ 19,000 | | $ 216,314,000 | | $ (165,035,000) |
Ending Balance, Shares at Jun. 30, 2021 | | | | | 19,470,914 | | | | |