Condensed Consolidated Statements of Redeemable Convertible Preferred Stock and Stockholders' Equity (Deficit) - USD ($) | Total | Redeemable Convertible Preferred Stock [Member] | Series D Redeemable Convertible Preferred Stock [Member] | Common Stock [Member] | Additional Paid-in Capital [Member] | Accumulated Other Comprehensive Loss [Member] | Accumulated Deficit [Member] |
Beginning Balance, Values at Dec. 31, 2019 | | $ 143,984,000 | | | | | |
Beginning Balance, Shares at Dec. 31, 2019 | | 111,748,065 | | | | | |
Beginning Balance, Shares at Dec. 31, 2019 | | | | 433,749 | | | |
Beginning Balance, Values at Dec. 31, 2019 | $ (100,454,000) | | | $ 4,000 | $ 2,202,000 | $ (80,000) | $ (102,580,000) |
Accretion on redeemable convertible preferred stock | 279,000 | | | | | | |
Accretion on redeemable convertible preferred stock | (279,000) | | | | (279,000) | | |
Stock-based compensation | 663,000 | | | | 663,000 | | |
Foreign currency translation adjustment | (11,000) | | | | | (11,000) | |
Net loss | (12,341,000) | | | | | | (12,341,000) |
Ending Balance, Values at Mar. 31, 2020 | | $ 144,263,000 | | | | | |
Ending Balance, Shares at Mar. 31, 2020 | | 111,748,065 | | | | | |
Ending Balance, Values at Mar. 31, 2020 | (112,422,000) | | | $ 4,000 | 2,586,000 | (91,000) | (114,921,000) |
Ending Balance, Shares at Mar. 31, 2020 | | | | 433,749 | | | |
Beginning Balance, Values at Dec. 31, 2019 | | $ 143,984,000 | | | | | |
Beginning Balance, Shares at Dec. 31, 2019 | | 111,748,065 | | | | | |
Beginning Balance, Shares at Dec. 31, 2019 | | | | 433,749 | | | |
Beginning Balance, Values at Dec. 31, 2019 | $ (100,454,000) | | | $ 4,000 | 2,202,000 | (80,000) | (102,580,000) |
Stock option exercises, Shares | 0 | | | | | | |
Foreign currency translation adjustment | $ (2,000) | | | | | | |
Net loss | (24,581,000) | | | | | | |
Ending Balance, Values at Jun. 30, 2020 | | $ 235,054,000 | | | | | |
Ending Balance, Shares at Jun. 30, 2020 | | 183,467,924 | | | | | |
Ending Balance, Values at Jun. 30, 2020 | (117,874,000) | | | $ 4,000 | 9,365,000 | (82,000) | (127,161,000) |
Ending Balance, Shares at Jun. 30, 2020 | | | | 433,749 | | | |
Beginning Balance, Values at Mar. 31, 2020 | | $ 144,263,000 | | | | | |
Beginning Balance, Shares at Mar. 31, 2020 | | 111,748,065 | | | | | |
Beginning Balance, Shares at Mar. 31, 2020 | | | | 433,749 | | | |
Beginning Balance, Values at Mar. 31, 2020 | (112,422,000) | | | $ 4,000 | 2,586,000 | (91,000) | (114,921,000) |
Issuance of redeemable convertible preferred stock, net of issuance costs | | | $ 96,807,000 | | | | |
Issuance of redeemable convertible preferred stock, net of issuance costs and value of redeemable convertible preferred stock liability, Shares | | | 71,719,859 | | | | |
Beneficial conversion feature on Series D redeemable convertible preferred stock | | | $ (6,297,000) | | | | |
Beneficial conversion feature on Series D redeemable convertible preferred stock | 6,297,000 | | | | 6,297,000 | | |
Accretion on redeemable convertible preferred stock | | $ 281,000 | | | | | |
Accretion on redeemable convertible preferred stock | (281,000) | | | | (281,000) | | |
Stock-based compensation | $ 763,000 | | | | 763,000 | | |
Stock option exercises, Shares | 0 | | | | | | |
Foreign currency translation adjustment | $ 9,000 | | | | | 9,000 | |
Net loss | (12,240,000) | | | | | | (12,240,000) |
Ending Balance, Values at Jun. 30, 2020 | | $ 235,054,000 | | | | | |
Ending Balance, Shares at Jun. 30, 2020 | | 183,467,924 | | | | | |
Ending Balance, Values at Jun. 30, 2020 | (117,874,000) | | | $ 4,000 | 9,365,000 | (82,000) | (127,161,000) |
Ending Balance, Shares at Jun. 30, 2020 | | | | 433,749 | | | |
Beginning Balance, Shares at Dec. 31, 2020 | | | | 38,157,618 | | | |
Beginning Balance, Values at Dec. 31, 2020 | 344,278,000 | | | $ 38,000 | 510,309,000 | (77,000) | (165,992,000) |
Stock-based compensation | 2,962,000 | | | | 2,962,000 | | |
Stock option exercises | 268,000 | | | | 268,000 | | |
Stock option exercises, Shares | | | | 74,930 | | | |
Foreign currency translation adjustment | 18,000 | | | | | 18,000 | |
Unrealized gain on available for sale securities | (24,000) | | | | | (24,000) | |
Net loss | (26,060,000) | | | | | | (26,060,000) |
Ending Balance, Values at Mar. 31, 2021 | 321,442,000 | | | $ 38,000 | 513,539,000 | (83,000) | (192,052,000) |
Ending Balance, Shares at Mar. 31, 2021 | | | | 38,232,548 | | | |
Beginning Balance, Shares at Dec. 31, 2020 | | | | 38,157,618 | | | |
Beginning Balance, Values at Dec. 31, 2020 | $ 344,278,000 | | | $ 38,000 | 510,309,000 | (77,000) | (165,992,000) |
Stock option exercises, Shares | 157,735 | | | | | | |
Foreign currency translation adjustment | $ (2,000) | | | | | | |
Unrealized gain on available for sale securities | 14,000 | | | | | | |
Net loss | (57,354,000) | | | | | | |
Ending Balance, Values at Jun. 30, 2021 | 295,335,000 | | | $ 38,000 | 518,708,000 | (65,000) | (223,346,000) |
Ending Balance, Shares at Jun. 30, 2021 | | | | 38,322,112 | | | |
Beginning Balance, Shares at Mar. 31, 2021 | | | | 38,232,548 | | | |
Beginning Balance, Values at Mar. 31, 2021 | 321,442,000 | | | $ 38,000 | 513,539,000 | (83,000) | (192,052,000) |
Stock-based compensation | 4,517,000 | | | | 4,517,000 | | |
Stock option exercises | 534,000 | | | | 534,000 | | |
Stock option exercises, Shares | | | | 82,805 | | | |
Issuance of common stock per ESPP purchase | 118,000 | | | | 118,000 | | |
Issuance of common stock per ESPP purchase, Shares | | | | 6,759 | | | |
Foreign currency translation adjustment | (20,000) | | | | | (20,000) | |
Unrealized gain on available for sale securities | 38,000 | | | | | 38,000 | |
Net loss | (31,294,000) | | | | | | (31,294,000) |
Ending Balance, Values at Jun. 30, 2021 | $ 295,335,000 | | | $ 38,000 | $ 518,708,000 | $ (65,000) | $ (223,346,000) |
Ending Balance, Shares at Jun. 30, 2021 | | | | 38,322,112 | | | |