Unaudited Consolidated Statements of Redeemable Convertible Preferred Stock and Stockholders' Equity (Deficit) - USD ($) $ in Thousands | Total | Series A redeemable convertible preferred stock | Series B redeemable convertible preferred stock | Common Stock | Additional Paid-in Capital | Accumulated Deficit | Accumulated Other Comprehensive Income (Loss) |
Redeemable convertible preferred stock beginning balance at Dec. 31, 2017 | | $ 47,102 | | | | | |
Redeemable convertible preferred stock, beginning balance (shares) at Dec. 31, 2017 | | 44,500,001 | | | | | |
Beginning balance (shares) at Dec. 31, 2017 | | | | 435,626 | | | |
Beginning balance at Dec. 31, 2017 | $ (26,324) | | | | | $ (26,324) | |
Sale of Series B preferred stock, net of issuance costs | | | $ 119,830 | | | | |
Sale of Series B preferred stock, net of issuance costs (shares) | | | 60,000,000 | | | | |
Reclassification of shares issued and previously subject to repurchase | 13 | | | | $ 13 | | |
Reclassification of shares issued and previously subject to repurchase (shares) | | | | 39,777 | | | |
Exercise of stock options and warrants | 91 | | | | 91 | | |
Exercise of stock options and warrants (shares) | | | | 123,275 | | | |
Stock-based compensation expense | 283 | | | | 283 | | |
Unrealized gain (loss) on investments, net | (17) | | | | | | $ (17) |
Accretion of redeemable preferred stock to redemption value | | $ 9,413 | $ 1,420 | | | | |
Accretion of redeemable preferred stock to redemption value | (10,833) | | | | (387) | (10,446) | |
Net loss | (3,986) | | | | | (3,986) | |
Redeemable convertible preferred stock ending balance at Mar. 31, 2018 | | $ 56,515 | $ 121,250 | | | | |
Redeemable convertible preferred stock, ending balance (shares) at Mar. 31, 2018 | | 44,500,001 | 60,000,000 | | | | |
Ending balance (shares) at Mar. 31, 2018 | | | | 598,678 | | | |
Ending balance at Mar. 31, 2018 | (40,773) | | | | | (40,756) | (17) |
Redeemable convertible preferred stock beginning balance at Dec. 31, 2017 | | $ 47,102 | | | | | |
Redeemable convertible preferred stock, beginning balance (shares) at Dec. 31, 2017 | | 44,500,001 | | | | | |
Beginning balance (shares) at Dec. 31, 2017 | | | | 435,626 | | | |
Beginning balance at Dec. 31, 2017 | (26,324) | | | | | (26,324) | |
Unrealized gain (loss) on investments, net | (3) | | | | | | |
Accretion of redeemable preferred stock to redemption value | 33,568 | | | | | | |
Net loss | (16,561) | | | | | | |
Redeemable convertible preferred stock ending balance at Sep. 30, 2018 | | $ 66,750 | $ 138,750 | | | | |
Redeemable convertible preferred stock, ending balance (shares) at Sep. 30, 2018 | | 44,500,001 | 62,500,000 | | | | |
Ending balance (shares) at Sep. 30, 2018 | | | | 681,004 | | | |
Ending balance at Sep. 30, 2018 | (75,036) | | | | | (75,033) | (3) |
Redeemable convertible preferred stock beginning balance at Mar. 31, 2018 | | $ 56,515 | $ 121,250 | | | | |
Redeemable convertible preferred stock, beginning balance (shares) at Mar. 31, 2018 | | 44,500,001 | 60,000,000 | | | | |
Beginning balance (shares) at Mar. 31, 2018 | | | | 598,678 | | | |
Beginning balance at Mar. 31, 2018 | (40,773) | | | | | (40,756) | (17) |
Reclassification of shares issued and previously subject to repurchase | 13 | | | | 13 | | |
Reclassification of shares issued and previously subject to repurchase (shares) | | | | 39,774 | | | |
Exercise of stock options and warrants | 2 | | | | 2 | | |
Exercise of stock options and warrants (shares) | | | | 2,774 | | | |
Stock-based compensation expense | 350 | | | | 350 | | |
Unrealized gain (loss) on investments, net | 15 | | | | | | 15 |
Accretion of redeemable preferred stock to redemption value | | $ 4,895 | $ 6,250 | | | | |
Accretion of redeemable preferred stock to redemption value | (11,145) | | | | (365) | (10,780) | |
Net loss | (6,187) | | | | | (6,187) | |
Redeemable convertible preferred stock ending balance at Jun. 30, 2018 | | $ 61,410 | $ 132,500 | | | | |
Redeemable convertible preferred stock, ending balance (shares) at Jun. 30, 2018 | | 44,500,001 | 62,500,000 | | | | |
Ending balance (shares) at Jun. 30, 2018 | | | | 641,226 | | | |
Ending balance at Jun. 30, 2018 | (57,725) | | | | | (57,723) | (2) |
Reclassification of shares issued and previously subject to repurchase | 11 | | | | 11 | | |
Reclassification of shares issued and previously subject to repurchase (shares) | | | | 39,778 | | | |
Stock-based compensation expense | 657 | | | | 657 | | |
Unrealized gain (loss) on investments, net | (1) | | | | | | (1) |
Accretion of redeemable preferred stock to redemption value | | $ 5,340 | $ 6,250 | | | | |
Accretion of redeemable preferred stock to redemption value | (11,590) | | | | (668) | (10,922) | |
Net loss | (6,388) | | | | | (6,388) | |
Redeemable convertible preferred stock ending balance at Sep. 30, 2018 | | $ 66,750 | $ 138,750 | | | | |
Redeemable convertible preferred stock, ending balance (shares) at Sep. 30, 2018 | | 44,500,001 | 62,500,000 | | | | |
Ending balance (shares) at Sep. 30, 2018 | | | | 681,004 | | | |
Ending balance at Sep. 30, 2018 | (75,036) | | | | | (75,033) | (3) |
Redeemable convertible preferred stock beginning balance at Dec. 31, 2018 | $ 209,230 | $ 72,980 | $ 136,250 | | | | |
Redeemable convertible preferred stock, beginning balance (shares) at Dec. 31, 2018 | | 44,500,001 | 62,500,000 | | | | |
Beginning balance (shares) at Dec. 31, 2018 | 726,990 | | | 726,990 | | | |
Beginning balance at Dec. 31, 2018 | $ (85,696) | | | | | (85,590) | (106) |
Reclassification of shares issued and previously subject to repurchase | 13 | | | | 13 | | |
Reclassification of shares issued and previously subject to repurchase (shares) | | | | 39,779 | | | |
Exercise of stock options and warrants (shares) | | | | 124 | | | |
Stock-based compensation expense | 1,141 | | | | 1,141 | | |
Unrealized gain (loss) on investments, net | 107 | | | | | | 107 |
Accretion of redeemable preferred stock to redemption value | | $ 34,789 | $ 15,111 | | | | |
Accretion of redeemable preferred stock to redemption value | (49,900) | | | | (498) | (49,402) | |
Conversion of shares upon IPO | | $ (107,769) | $ (151,361) | | | | |
Conversion of shares upon IPO (in shares) | | (44,500,001) | (62,500,000) | | | | |
Conversion of shares upon IPO (shares) | | | | 17,275,299 | | | |
Conversion of shares upon IPO | 259,130 | | | $ 2 | 259,128 | | |
Initial public offering, net of issuance costs | 77,155 | | | | 77,155 | | |
Initial public offering, net of issuance costs (in shares) | | | | 5,750,000 | | | |
Net loss | (9,903) | | | | | (9,903) | |
Ending balance (shares) at Mar. 31, 2019 | | | | 23,792,192 | | | |
Ending balance at Mar. 31, 2019 | 192,047 | | | $ 2 | 336,939 | (144,895) | 1 |
Redeemable convertible preferred stock beginning balance at Dec. 31, 2018 | $ 209,230 | $ 72,980 | $ 136,250 | | | | |
Redeemable convertible preferred stock, beginning balance (shares) at Dec. 31, 2018 | | 44,500,001 | 62,500,000 | | | | |
Beginning balance (shares) at Dec. 31, 2018 | 726,990 | | | 726,990 | | | |
Beginning balance at Dec. 31, 2018 | $ (85,696) | | | | | (85,590) | (106) |
Unrealized gain (loss) on investments, net | 336 | | | | | | |
Accretion of redeemable preferred stock to redemption value | 49,900 | | | | | | |
Net loss | (34,772) | | | | | | |
Redeemable convertible preferred stock ending balance at Sep. 30, 2019 | $ 0 | $ 0 | $ 0 | | | | |
Redeemable convertible preferred stock, ending balance (shares) at Sep. 30, 2019 | | 0 | 0 | | | | |
Ending balance (shares) at Sep. 30, 2019 | 23,944,083 | | | 23,944,083 | | | |
Ending balance at Sep. 30, 2019 | $ 171,154 | | | $ 2 | 340,686 | (169,764) | 230 |
Beginning balance (shares) at Mar. 31, 2019 | | | | 23,792,192 | | | |
Beginning balance at Mar. 31, 2019 | 192,047 | | | $ 2 | 336,939 | (144,895) | 1 |
Reclassification of shares issued and previously subject to repurchase | 13 | | | | 13 | | |
Reclassification of shares issued and previously subject to repurchase (shares) | | | | 39,777 | | | |
Exercise of stock options and warrants | 18 | | | | 18 | | |
Exercise of stock options and warrants (shares) | | | | 24,721 | | | |
Stock-based compensation expense | 1,444 | | | | 1,444 | | |
Unrealized gain (loss) on investments, net | 211 | | | | | | 211 |
Initial public offering, issuance costs | (34) | | | | (34) | | |
Net loss | (11,063) | | | | | (11,063) | |
Ending balance (shares) at Jun. 30, 2019 | | | | 23,856,690 | | | |
Ending balance at Jun. 30, 2019 | 182,636 | | | $ 2 | 338,380 | (155,958) | 212 |
Reclassification of shares issued and previously subject to repurchase | 13 | | | | 13 | | |
Reclassification of shares issued and previously subject to repurchase (shares) | | | | 19,115 | | | |
Exercise of stock options and warrants | 281 | | | | 281 | | |
Exercise of stock options and warrants (shares) | | | | 68,278 | | | |
Stock-based compensation expense | 2,012 | | | | 2,012 | | |
Unrealized gain (loss) on investments, net | 18 | | | | | | 18 |
Net loss | (13,806) | | | | | (13,806) | |
Redeemable convertible preferred stock ending balance at Sep. 30, 2019 | $ 0 | $ 0 | $ 0 | | | | |
Redeemable convertible preferred stock, ending balance (shares) at Sep. 30, 2019 | | 0 | 0 | | | | |
Ending balance (shares) at Sep. 30, 2019 | 23,944,083 | | | 23,944,083 | | | |
Ending balance at Sep. 30, 2019 | $ 171,154 | | | $ 2 | $ 340,686 | $ (169,764) | $ 230 |