Condensed Consolidated Statements Of Redeemable Convertible Preferred Stock And Stockholders’ Equity (Deficit) (Unaudited) - USD ($) $ in Thousands | Total | Common Stock | Additional Paid-In Capital | Accumulated Deficit | Accumulated Other Comprehensive Loss | Series A Redeemable Convertible Preferred Stock | Series B Redeemable Convertible Preferred Stock | Series B-1 Redeemable Convertible Preferred Stock | Series C Redeemable Convertible Preferred Stock | Series C Redeemable Convertible Preferred StockAccumulated Deficit |
Beginning balance, Shares at Dec. 31, 2019 | | | | | | 8,075,799 | 14,913,704 | 2,666,666 | 9,805,827 | |
Beginning balance at Dec. 31, 2019 | | | | | | $ 9,932 | $ 49,969 | $ 10,431 | $ 50,789 | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | | | | |
Repurchase of Series C redeemable convertible preferred stock (in shares) | | | | | | | | | (5,825,243) | |
Repurchase of Series C redeemable convertible preferred stock | | | | | | | | | $ (30,493) | |
Issuance of redeemable convertible preferred stock, net of issuance costs (in shares) | | | | | | | | | 4,563,108 | |
Issuance of redeemable convertible preferred stock, net of issuance costs | | | | | | | | | $ 23,459 | |
Accretion of redeemable convertible preferred stock to redemption value | | | | | | $ 322 | $ 1,780 | $ 397 | $ 1,604 | |
Ending balance, shares at Jun. 30, 2020 | | | | | | 8,075,799 | 14,913,704 | 2,666,666 | 8,543,692 | |
Ending balance at Jun. 30, 2020 | | | | | | $ 10,254 | $ 51,749 | $ 10,828 | $ 45,359 | |
Beginning balance, Shares at Dec. 31, 2019 | | 1,621,880 | | | | | | | | |
Beginning balance at Dec. 31, 2019 | $ (81,008) | $ 1 | $ 0 | $ (81,009) | $ 0 | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | |
Repurchase of Series C redeemable convertible preferred stock | | | | | | | | | $ 493 | $ 493 |
Stock-based compensation expense | 432 | | 432 | | | | | | | |
Change in unrealized loss on marketable securities, net of tax | 0 | | | | | | | | | |
Vesting of restricted stock awards (in shares) | | 26,285 | | | | | | | | |
Accretion of redeemable convertible preferred stock to redemption value | (4,103) | | (432) | (3,671) | | | | | | |
Net loss | (19,898) | | | (19,898) | | | | | | |
Ending balance, shares at Jun. 30, 2020 | | 1,648,165 | | | | | | | | |
Ending balance at Jun. 30, 2020 | (104,084) | $ 1 | 0 | (104,085) | 0 | | | | | |
Beginning balance, Shares at Mar. 31, 2020 | | | | | | 8,075,799 | 14,913,704 | 2,666,666 | 3,980,584 | |
Beginning balance at Mar. 31, 2020 | | | | | | $ 10,092 | $ 50,859 | $ 10,630 | $ 21,074 | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | | | | |
Issuance of redeemable convertible preferred stock, net of issuance costs (in shares) | | | | | | | | | 4,563,108 | |
Issuance of redeemable convertible preferred stock, net of issuance costs | | | | | | | | | $ 23,496 | |
Accretion of redeemable convertible preferred stock to redemption value | | | | | | $ 162 | $ 890 | $ 198 | $ 789 | |
Ending balance, shares at Jun. 30, 2020 | | | | | | 8,075,799 | 14,913,704 | 2,666,666 | 8,543,692 | |
Ending balance at Jun. 30, 2020 | | | | | | $ 10,254 | $ 51,749 | $ 10,828 | $ 45,359 | |
Beginning balance, Shares at Mar. 31, 2020 | | 1,635,023 | | | | | | | | |
Beginning balance at Mar. 31, 2020 | (90,762) | $ 1 | 0 | (90,763) | 0 | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | |
Stock-based compensation expense | 285 | | 285 | | | | | | | |
Change in unrealized loss on marketable securities, net of tax | 0 | | | | | | | | | |
Vesting of restricted stock awards (in shares) | | 13,142 | | | | | | | | |
Accretion of redeemable convertible preferred stock to redemption value | (2,039) | | (285) | (1,754) | | | | | | |
Net loss | (11,568) | | | (11,568) | | | | | | |
Ending balance, shares at Jun. 30, 2020 | | 1,648,165 | | | | | | | | |
Ending balance at Jun. 30, 2020 | $ (104,084) | $ 1 | 0 | (104,085) | 0 | | | | | |
Beginning balance, Shares at Dec. 31, 2020 | | | | | | 0 | 0 | 0 | 0 | |
Beginning balance at Dec. 31, 2020 | | | | | | $ 0 | $ 0 | $ 0 | $ 0 | |
Ending balance, shares at Jun. 30, 2021 | | | | | | 0 | 0 | 0 | 0 | |
Ending balance at Jun. 30, 2021 | | | | | | $ 0 | $ 0 | $ 0 | $ 0 | |
Beginning balance, Shares at Dec. 31, 2020 | 38,268,543 | 38,268,543 | | | | | | | | |
Beginning balance at Dec. 31, 2020 | $ 287,457 | $ 4 | 437,007 | (149,554) | 0 | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | |
Stock-based compensation expense | 10,066 | | 10,066 | | | | | | | |
Issuance of common stock from follow-on public offering, net of offering costs of $229 (in shares) | | 5,750,000 | | | | | | | | |
Issuance of common stock from follow-on public offering, net of offering costs of $229 | $ 98,413 | $ 1 | 98,412 | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | 674,619 | 674,619 | | | | | | | | |
Issuance of common stock upon exercise of stock options | $ 1,660 | | 1,660 | | | | | | | |
Change in unrealized loss on marketable securities, net of tax | (50) | | | | (50) | | | | | |
Net loss | $ (63,774) | | | (63,774) | | | | | | |
Ending balance, shares at Jun. 30, 2021 | 44,693,162 | 44,693,162 | | | | | | | | |
Ending balance at Jun. 30, 2021 | $ 333,772 | $ 5 | 547,145 | (213,328) | (50) | | | | | |
Beginning balance, Shares at Mar. 31, 2021 | | | | | | 0 | 0 | 0 | 0 | |
Beginning balance at Mar. 31, 2021 | | | | | | $ 0 | $ 0 | $ 0 | $ 0 | |
Ending balance, shares at Jun. 30, 2021 | | | | | | 0 | 0 | 0 | 0 | |
Ending balance at Jun. 30, 2021 | | | | | | $ 0 | $ 0 | $ 0 | $ 0 | |
Beginning balance, Shares at Mar. 31, 2021 | | 38,621,049 | | | | | | | | |
Beginning balance at Mar. 31, 2021 | 265,515 | $ 4 | 442,524 | (176,927) | (86) | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | |
Stock-based compensation expense | 5,400 | | 5,400 | | | | | | | |
Issuance of common stock from follow-on public offering, net of offering costs of $229 (in shares) | | 5,750,000 | | | | | | | | |
Issuance of common stock from follow-on public offering, net of offering costs of $229 | 98,413 | $ 1 | 98,412 | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | 322,113 | | | | | | | | |
Issuance of common stock upon exercise of stock options | 809 | | 809 | | | | | | | |
Change in unrealized loss on marketable securities, net of tax | 36 | | | | 36 | | | | | |
Net loss | $ (36,401) | | | (36,401) | | | | | | |
Ending balance, shares at Jun. 30, 2021 | 44,693,162 | 44,693,162 | | | | | | | | |
Ending balance at Jun. 30, 2021 | $ 333,772 | $ 5 | $ 547,145 | $ (213,328) | $ (50) | | | | | |