Condensed Statements of Convertible Preferred Stock, Redeemable Convertible Preferred Stock and Stockholders' Equity (Deficit) - USD ($) $ in Thousands | Total | Common Stock [Member] | Treasury Stock [Member] | Additional Paid-in Capital [Member] | Accumulated Other Comprehensive Income (Loss) [Member] | Accumulated Deficit [Member] | Redeemable Convertible Preferred Stock [Member] | Convertible Preferred Stock [Member] | Non-Voting Common Stock [Member] |
Beginning balance at Dec. 31, 2019 | $ (75,278) | $ 2 | $ (748) | $ 12,031 | $ 102 | $ (86,665) | | $ 110,401 | |
Beginning balance, Shares at Dec. 31, 2019 | | 20,494,146 | (2,317,722) | | | | | 54,208,461 | |
Issuance of common stock upon exercise of stock options | 520 | | | 520 | | | | | |
Issuance of common stock upon exercise of stock options, Shares | | 1,372,671 | | | | | | | |
Accretion of redeemable convertible preferred stock | (6) | | | (6) | | | $ 6 | | |
Issuance of common stock warrants | 336 | | | 336 | | | | | |
Forfeiture of unvested restricted stock awards, Shares | | (105,969) | | | | | | | |
Foreign currency translation adjustment | (273) | | | | (273) | | | | |
Stock-based compensation expense | 1,824 | | | 1,824 | | | | | |
Net income (loss) | (12,297) | | | | | (12,297) | | | |
Issuance of Convertible Preferred Stock upon net exercise of warrants | | | | | | | $ 119,755 | | |
Issuance of Convertible Preferred Stock upon net exercise of warrants, Shares | | | | | | | 11,239,920 | | |
Ending balance, Shares at Jun. 30, 2020 | | 21,760,848 | (2,317,722) | | | | 11,239,920 | 54,208,461 | |
Ending balance at Jun. 30, 2020 | (85,174) | $ 2 | $ (748) | 14,705 | (171) | (98,962) | $ 119,761 | $ 110,401 | |
Beginning balance at Mar. 31, 2020 | (70,341) | $ 2 | $ (748) | 13,368 | 2 | (82,965) | $ 119,757 | $ 110,401 | |
Beginning balance, Shares at Mar. 31, 2020 | | 21,832,035 | (2,317,722) | | | | 11,239,920 | 54,208,461 | |
Issuance of common stock upon exercise of stock options | 16 | | | 16 | | | | | |
Issuance of common stock upon exercise of stock options, Shares | | 27,690 | | | | | | | |
Accretion of redeemable convertible preferred stock | (4) | | | (4) | | | $ 4 | | |
Issuance of common stock warrants | 336 | | | 336 | | | | | |
Forfeiture of unvested restricted stock awards, Shares | | (98,877) | | | | | | | |
Foreign currency translation adjustment | (173) | | | | (173) | | | | |
Stock-based compensation expense | 989 | | | 989 | | | | | |
Net income (loss) | (15,997) | | | | | (15,997) | | | |
Ending balance, Shares at Jun. 30, 2020 | | 21,760,848 | (2,317,722) | | | | 11,239,920 | 54,208,461 | |
Ending balance at Jun. 30, 2020 | (85,174) | $ 2 | $ (748) | 14,705 | (171) | (98,962) | $ 119,761 | $ 110,401 | |
Beginning balance at Dec. 31, 2020 | (81,762) | $ 2 | $ (748) | 16,971 | (214) | (97,772) | $ 119,769 | $ 110,401 | |
Beginning balance, Shares at Dec. 31, 2020 | | 22,240,872 | (2,317,722) | | | | 11,239,920 | 54,208,461 | |
Issuance of common stock upon exercise of stock options | 3,792 | $ 1 | | 3,791 | | | | | |
Issuance of common stock upon exercise of stock options, Shares | | 4,117,604 | | | | | | | |
Accretion of redeemable convertible preferred stock | (13) | | | (13) | | | $ 13 | | |
Foreign currency translation adjustment | 263 | | | | 263 | | | | |
Stock-based compensation expense | 12,760 | | | 12,760 | | | | | |
Net income (loss) | (26,798) | | | | | (26,798) | | | |
Issuance of common stock in connection with initial public offering, net of underwriting discounts and commissions | 268,694 | $ 1 | | 268,693 | | | | | |
Issuance of common stock in connection with initial public offering, net of underwriting discounts and commissions, Shares | | 12,006,000 | | | | | | | |
Costs incurred in connection with initial public offering | $ (4,860) | | | (4,860) | | | | | |
Issuance of Convertible Preferred Stock upon net exercise of warrants | | | | | | | $ 59,735 | $ 6,417 | |
Issuance of Convertible Preferred Stock upon net exercise of warrants, Shares | 182,467 | | | | | | 2,571,936 | 182,467 | |
Conversion of convertible preferred stock upon initial public offering | $ 116,818 | $ 5 | | 116,813 | | | | $ (116,818) | |
Conversion of convertible preferred stock upon initial public offering, Shares | | 54,390,928 | | | | | | (54,390,928) | |
Conversion of redeemable convertible preferred stock upon initial public offering | 179,517 | $ 1 | | 179,515 | | | $ (179,517) | | $ 1 |
Conversion of redeemable convertible preferred stock upon initial public offering, Shares | | 7,823,478 | | | | | | (13,811,856) | 5,988,378 |
Reclassification of warrant liability to additional paid-in capital upon initial public offering | 6,272 | | | 6,272 | | | | | |
Exercise of common stock warrants | 294 | | | 294 | | | | | |
Exercise of common stock warrants, shares | | 417,021 | | | | | | | |
Ending balance, Shares at Jun. 30, 2021 | | 100,995,903 | (2,317,722) | | | | | | 5,988,378 |
Ending balance at Jun. 30, 2021 | 474,978 | $ 10 | $ (748) | 600,236 | 49 | (124,570) | | | $ 1 |
Beginning balance at Mar. 31, 2021 | (77,310) | $ 3 | $ (748) | 29,734 | 125 | (106,424) | $ 179,509 | $ 110,401 | |
Beginning balance, Shares at Mar. 31, 2021 | | 25,397,964 | (2,317,722) | | | | 13,811,856 | 54,208,461 | |
Issuance of common stock upon exercise of stock options | 1,387 | | | 1,387 | | | | | |
Issuance of common stock upon exercise of stock options, Shares | | 1,112,030 | | | | | | | |
Accretion of redeemable convertible preferred stock | (8) | | | (8) | | | $ 8 | | |
Foreign currency translation adjustment | (76) | | | | (76) | | | | |
Stock-based compensation expense | 2,396 | | | 2,396 | | | | | |
Net income (loss) | (18,146) | | | | | (18,146) | | | |
Issuance of common stock in connection with initial public offering, net of underwriting discounts and commissions | 268,694 | $ 1 | | 268,693 | | | | | |
Issuance of common stock in connection with initial public offering, net of underwriting discounts and commissions, Shares | | 12,006,000 | | | | | | | |
Costs incurred in connection with initial public offering | (4,860) | | | (4,860) | | | | | |
Issuance of Convertible Preferred Stock upon net exercise of warrants | | | | | | | | $ 6,417 | |
Issuance of Convertible Preferred Stock upon net exercise of warrants, Shares | | | | | | | | 182,467 | |
Conversion of convertible preferred stock upon initial public offering | 116,818 | $ 5 | | 116,813 | | | | $ (116,818) | |
Conversion of convertible preferred stock upon initial public offering, Shares | | 54,390,928 | | | | | | (54,390,928) | |
Conversion of redeemable convertible preferred stock upon initial public offering | 179,517 | $ 1 | | 179,515 | | | $ (179,517) | | $ 1 |
Conversion of redeemable convertible preferred stock upon initial public offering, Shares | | 7,823,478 | | | | | (13,811,856) | | 5,988,378 |
Reclassification of warrant liability to additional paid-in capital upon initial public offering | 6,272 | | | 6,272 | | | | | |
Exercise of common stock warrants | 294 | | | 294 | | | | | |
Exercise of common stock warrants, shares | | 265,503 | | | | | | | |
Ending balance, Shares at Jun. 30, 2021 | | 100,995,903 | (2,317,722) | | | | | | 5,988,378 |
Ending balance at Jun. 30, 2021 | $ 474,978 | $ 10 | $ (748) | $ 600,236 | $ 49 | $ (124,570) | | | $ 1 |