Condensed Statements of Convertible Preferred Stock and Stockholders' Equity (Deficit) - USD ($) $ in Thousands | Total | At-The-Market Offering | Series A Convertible Preferred Stock | Series B Convertible Preferred Stock | Series C Convertible Preferred Stock | Common Stock | Common StockAt-The-Market Offering | Additional Paid-in Capital | Additional Paid-in CapitalAt-The-Market Offering | Accumulated Deficit | Other Comprehensive Loss |
Balance, beginning at Dec. 31, 2017 | $ (57,034) | | | | | $ 1 | | $ 2,207 | | $ (59,191) | $ (51) |
Preferred stock, beginning (shares) at Dec. 31, 2017 | | | 14,300 | 14,106,583 | 11,854,463 | | | | | | |
Preferred stock, beginning at Dec. 31, 2017 | | | $ 14,183 | $ 44,820 | $ 50,324 | | | | | | |
Balance, beginning (shares) at Dec. 31, 2017 | | | | | | 5,298,593 | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Conversion of preferred stock to common stock | 109,327 | | $ (14,183) | $ (44,820) | $ (50,324) | $ 1 | | 109,326 | | | |
Conversion of preferred stock to common stock (shares) | | | (14,300) | (14,106,583) | (11,854,463) | 9,629,405 | | | | | |
Issuance of common stock | 125,389 | | | | | $ 1 | | 125,388 | | | |
Issuance of common stock (shares) | | | | | | 8,050,000 | | | | | |
Vesting of early exercised stock options | 6 | | | | | | | 6 | | | |
Stock-based compensation | 822 | | | | | | | 822 | | | |
Unrealized gain on available-for-sale securities | (151) | | | | | | | | | | (151) |
Net loss | (12,657) | | | | | | | | | (12,657) | |
Balance, ending at Mar. 31, 2018 | 165,702 | | | | | $ 3 | | 237,749 | | (71,848) | (202) |
Balance, ending (shares) at Mar. 31, 2018 | | | | | | 22,977,998 | | | | | |
Balance, beginning at Dec. 31, 2017 | (57,034) | | | | | $ 1 | | 2,207 | | (59,191) | (51) |
Preferred stock, beginning (shares) at Dec. 31, 2017 | | | 14,300 | 14,106,583 | 11,854,463 | | | | | | |
Preferred stock, beginning at Dec. 31, 2017 | | | $ 14,183 | $ 44,820 | $ 50,324 | | | | | | |
Balance, beginning (shares) at Dec. 31, 2017 | | | | | | 5,298,593 | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Unrealized gain on available-for-sale securities | (50) | | | | | | | | | | |
Net loss | (33,852) | | | | | | | | | | |
Balance, ending at Sep. 30, 2018 | 146,884 | | | | | $ 3 | | 240,024 | | (93,042) | (101) |
Balance, ending (shares) at Sep. 30, 2018 | | | | | | 23,232,184 | | | | | |
Balance, beginning at Mar. 31, 2018 | 165,702 | | | | | $ 3 | | 237,749 | | (71,848) | (202) |
Balance, beginning (shares) at Mar. 31, 2018 | | | | | | 22,977,998 | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Issuance of common stock | 27 | | | | | | | 27 | | | |
Vesting of early exercised stock options | 8 | | | | | | | 8 | | | |
Stock-based compensation | 746 | | | | | | | 746 | | | |
Unrealized gain on available-for-sale securities | 53 | | | | | | | | | | 53 |
Net loss | (8,347) | | | | | | | | | (8,347) | |
Balance, ending at Jun. 30, 2018 | 158,189 | | | | | $ 3 | | 238,530 | | (80,195) | (149) |
Balance, ending (shares) at Jun. 30, 2018 | | | | | | 22,977,998 | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Issuance of common stock on exercise of stock options | 494 | | | | | | | 494 | | | |
Issuance of common stock on exercise of stock options (shares) | | | | | | 254,186 | | | | | |
Vesting of early exercised stock options | 6 | | | | | | | 6 | | | |
Stock-based compensation | 994 | | | | | | | 994 | | | |
Unrealized gain on available-for-sale securities | 48 | | | | | | | | | | 48 |
Net loss | (12,847) | | | | | | | | | (12,847) | |
Balance, ending at Sep. 30, 2018 | 146,884 | | | | | $ 3 | | 240,024 | | (93,042) | (101) |
Balance, ending (shares) at Sep. 30, 2018 | | | | | | 23,232,184 | | | | | |
Balance, beginning at Dec. 31, 2018 | 130,377 | | | | | $ 3 | | 241,106 | | (110,636) | (96) |
Balance, beginning (shares) at Dec. 31, 2018 | | | | | | 23,233,184 | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Issuance of common stock on exercise of stock options | 83 | | | | | | | 83 | | | |
Issuance of common stock on exercise of stock options (shares) | | | | | | 34,418 | | | | | |
Issuance of common stock under Employee Stock Purchase Plan | 300 | | | | | | | 300 | | | |
Issuance of common stock under Employee Stock Purchase Plan, (shares) | | | | | | 46,019 | | | | | |
Issuance of common stock | | $ 2,632 | | | | | | | $ 2,632 | | |
Issuance of common stock (shares) | | | | | | | 358,614 | | | | |
Vesting of early exercised stock options | 7 | | | | | | | 7 | | | |
Stock-based compensation | 1,019 | | | | | | | 1,019 | | | |
Unrealized gain on available-for-sale securities | 86 | | | | | | | | | | 86 |
Net loss | (18,873) | | | | | | | | | (18,873) | |
Balance, ending at Mar. 31, 2019 | 115,631 | | | | | $ 3 | | 245,147 | | (129,509) | (10) |
Balance, ending (shares) at Mar. 31, 2019 | | | | | | 23,672,235 | | | | | |
Balance, beginning at Dec. 31, 2018 | $ 130,377 | | | | | $ 3 | | 241,106 | | (110,636) | (96) |
Balance, beginning (shares) at Dec. 31, 2018 | | | | | | 23,233,184 | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Issuance of common stock on exercise of stock options (shares) | 60,347 | | | | | | | | | | |
Unrealized gain on available-for-sale securities | $ 131 | | | | | | | | | | |
Net loss | (52,205) | | | | | | | | | | |
Balance, ending at Sep. 30, 2019 | 87,002 | | | | | $ 3 | | 249,805 | | (162,841) | 35 |
Balance, ending (shares) at Sep. 30, 2019 | | | | | | 23,983,751 | | | | | |
Balance, beginning at Mar. 31, 2019 | 115,631 | | | | | $ 3 | | 245,147 | | (129,509) | (10) |
Balance, beginning (shares) at Mar. 31, 2019 | | | | | | 23,672,235 | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Issuance of common stock on exercise of stock options | 71 | | | | | | | 71 | | | |
Issuance of common stock on exercise of stock options (shares) | | | | | | 25,746 | | | | | |
Issuance of common stock | 1,864 | | | | | | | 1,864 | | | |
Issuance of common stock (shares) | | | | | | 246,416 | | | | | |
Vesting of early exercised stock options | 5 | | | | | | | 5 | | | |
Stock-based compensation | 1,068 | | | | | | | 1,068 | | | |
Unrealized gain on available-for-sale securities | 15 | | | | | | | | | | 15 |
Net loss | (16,477) | | | | | | | | | (16,477) | |
Balance, ending at Jun. 30, 2019 | 102,177 | | | | | $ 3 | | 248,155 | | (145,986) | 5 |
Balance, ending (shares) at Jun. 30, 2019 | | | | | | 23,944,397 | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Issuance of common stock on exercise of stock options (shares) | | | | | | 183 | | | | | |
Issuance of common stock under Employee Stock Purchase Plan | 129 | | | | | | | 129 | | | |
Issuance of common stock under Employee Stock Purchase Plan, (shares) | | | | | | 30,679 | | | | | |
Issuance of common stock | | $ 42 | | | | | | | $ 42 | | |
Issuance of common stock (shares) | | | | | | | 8,492 | | | | |
Vesting of early exercised stock options | 6 | | | | | | | 6 | | | |
Stock-based compensation | 1,503 | | | | | | | 1,473 | | | |
Unrealized gain on available-for-sale securities | 30 | | | | | | | | | | 30 |
Net loss | (16,855) | | | | | | | | | (16,855) | |
Balance, ending at Sep. 30, 2019 | $ 87,002 | | | | | $ 3 | | $ 249,805 | | $ (162,841) | $ 35 |
Balance, ending (shares) at Sep. 30, 2019 | | | | | | 23,983,751 | | | | | |