CONSOLIDATED STATEMENTS OF REDEEMABLE CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT) (Unaudited) - USD ($) $ in Thousands | Total | Common Stock | Additional Paid-in Capital | Accumulated Other Comprehensive Income (Loss) | Accumulated Deficit | Series A One Redeemable Convertible Preferred Stock | Series A-2 Preferred Stock | Series B Redeemable Convertible Preferred Stock |
Redeemable convertible preferred stock, Beginning Balance, Shares at Dec. 31, 2018 | | | | | | 14,225,324 | 17,000,000 | |
Redeemable convertible preferred stock, Beginning Balance at Dec. 31, 2018 | | | | | | $ 142,253 | $ 170,000 | |
Beginning Balances, Shares at Dec. 31, 2018 | | 10 | | | | | | |
Beginning Balances at Dec. 31, 2018 | $ (188,391) | | $ 1,879 | | $ (190,270) | | | |
Stock-based compensation expense | 1,287 | | 1,287 | | | | | |
Issuance of common stock for stock options exercised | 1,025 | | 1,025 | | | | | |
Issuance of common stock for stock options exercised, shares | | 360,996 | | | | | | |
Issuance of common stock upon vesting of RSAs | | $ 1 | (1) | | | | | |
Issuance of common stock upon vesting of RSAs, Shares | | 363,797 | | | | | | |
Issuance of preferred stock | | | | | | | | $ 75,000 |
Issuance of preferred stock, Shares | | | | | | | | 4,687,500 |
Net loss | (26,449) | | | | (26,449) | | | |
Redeemable convertible preferred stock, Ending Balance, Shares at Jun. 30, 2019 | | | | | | 14,225,324 | 17,000,000 | 4,687,500 |
Redeemable convertible preferred stock, Ending Balance at Jun. 30, 2019 | | | | | | $ 142,253 | $ 170,000 | $ 75,000 |
Ending Balances, Shares at Jun. 30, 2019 | | 724,803 | | | | | | |
Ending Balances at Jun. 30, 2019 | (212,528) | $ 1 | 4,190 | | (216,719) | | | |
Redeemable convertible preferred stock, Beginning Balance, Shares at Mar. 31, 2019 | | | | | | 14,225,324 | 17,000,000 | |
Redeemable convertible preferred stock, Beginning Balance at Mar. 31, 2019 | | | | | | $ 142,253 | $ 170,000 | |
Beginning Balances, Shares at Mar. 31, 2019 | | 363,799 | | | | | | |
Beginning Balances at Mar. 31, 2019 | (208,728) | | 2,518 | | (211,246) | | | |
Stock-based compensation expense | 648 | | 648 | | | | | |
Issuance of common stock for stock options exercised | 1,025 | | 1,025 | | | | | |
Issuance of common stock for stock options exercised, shares | | 360,996 | | | | | | |
Issuance of common stock upon vesting of RSAs | | $ 1 | (1) | | | | | |
Issuance of common stock upon vesting of RSAs, Shares | | 8 | | | | | | |
Issuance of preferred stock | | | | | | | | $ 75,000 |
Issuance of preferred stock, Shares | | | | | | | | 4,687,500 |
Net loss | (5,473) | | | | (5,473) | | | |
Redeemable convertible preferred stock, Ending Balance, Shares at Jun. 30, 2019 | | | | | | 14,225,324 | 17,000,000 | 4,687,500 |
Redeemable convertible preferred stock, Ending Balance at Jun. 30, 2019 | | | | | | $ 142,253 | $ 170,000 | $ 75,000 |
Ending Balances, Shares at Jun. 30, 2019 | | 724,803 | | | | | | |
Ending Balances at Jun. 30, 2019 | (212,528) | $ 1 | 4,190 | | (216,719) | | | |
Beginning Balances, Shares at Dec. 31, 2019 | | 50,617,868 | | | | | | |
Beginning Balances at Dec. 31, 2019 | 354,511 | $ 51 | 631,154 | $ 5 | (276,699) | | | |
Stock-based compensation expense | 5,797 | | 5,797 | | | | | |
Issuance of common stock for stock options exercised | 556 | | 556 | | | | | |
Issuance of common stock for stock options exercised, shares | | 147,923 | | | | | | |
Issuance of common stock upon vesting of RSAs, Shares | | 357,157 | | | | | | |
Issuance of common stock, net | 158,338 | $ 3 | 158,335 | | | | | |
Issuance of common stock, net, Shares | | 3,600,000 | | | | | | |
Other comprehensive income | 650 | | | 650 | | | | |
Net loss | (79,634) | | | | (79,634) | | | |
Ending Balances, Shares at Jun. 30, 2020 | | 54,722,948 | | | | | | |
Ending Balances at Jun. 30, 2020 | 440,218 | $ 54 | 795,842 | 655 | (356,333) | | | |
Beginning Balances, Shares at Mar. 31, 2020 | | 50,997,300 | | | | | | |
Beginning Balances at Mar. 31, 2020 | 316,421 | $ 51 | 633,967 | (121) | (317,476) | | | |
Stock-based compensation expense | 3,086 | | 3,086 | | | | | |
Issuance of common stock for stock options exercised | 454 | | 454 | | | | | |
Issuance of common stock for stock options exercised, shares | | 125,648 | | | | | | |
Issuance of common stock, net | 158,338 | $ 3 | 158,335 | | | | | |
Issuance of common stock, net, Shares | | 3,600,000 | | | | | | |
Other comprehensive income | 776 | | | 776 | | | | |
Net loss | (38,857) | | | | (38,857) | | | |
Ending Balances, Shares at Jun. 30, 2020 | | 54,722,948 | | | | | | |
Ending Balances at Jun. 30, 2020 | $ 440,218 | $ 54 | $ 795,842 | $ 655 | $ (356,333) | | | |