Condensed Consolidated Statements of Redeemable Convertible Preferred Stock and Stockholders' Equity (Deficit) (Unaudited) - USD ($) $ in Thousands | Total | Common stock | Additional paid-in capital | Treasury stock | Accumulated deficit |
Redeemable convertible preferred stock, beginning (in shares) at Dec. 31, 2017 | 21,549,244 | | | | |
Redeemable convertible preferred stock, beginning at Dec. 31, 2017 | $ 138,828 | | | | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | |
Accretion of preferred stock to redemption value | $ 38 | | | | |
Redeemable convertible preferred stock, ending (in shares) at Mar. 31, 2018 | 21,549,244 | | | | |
Redeemable convertible preferred stock, ending at Mar. 31, 2018 | $ 138,866 | | | | |
Beginning balance (in shares) at Dec. 31, 2017 | | 4,648,078 | | 418,981 | |
Beginning balance at Dec. 31, 2017 | (116,354) | $ 5 | $ 4,621 | $ 0 | $ (120,980) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Accretion of preferred stock to redemption value | (38) | | (38) | | |
Stock-based compensation | 368 | | 368 | | |
Net loss | (8,100) | | | | (8,100) |
Ending balance (in shares) at Mar. 31, 2018 | | 4,648,078 | | 418,981 | |
Ending balance at Mar. 31, 2018 | $ (124,124) | $ 5 | 4,951 | $ 0 | (129,080) |
Redeemable convertible preferred stock, beginning (in shares) at Dec. 31, 2017 | 21,549,244 | | | | |
Redeemable convertible preferred stock, beginning at Dec. 31, 2017 | $ 138,828 | | | | |
Redeemable convertible preferred stock, ending (in shares) at Jun. 30, 2018 | 21,549,244 | | | | |
Redeemable convertible preferred stock, ending at Jun. 30, 2018 | $ 138,907 | | | | |
Beginning balance (in shares) at Dec. 31, 2017 | | 4,648,078 | | 418,981 | |
Beginning balance at Dec. 31, 2017 | (116,354) | $ 5 | 4,621 | $ 0 | (120,980) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Reclassification of warrants to additional paid-in capital | 0 | | | | |
Net loss | (17,523) | | | | |
Ending balance (in shares) at Jun. 30, 2018 | | 5,183,398 | | 418,981 | |
Ending balance at Jun. 30, 2018 | $ (132,877) | $ 6 | 5,620 | $ 0 | (138,503) |
Redeemable convertible preferred stock, beginning (in shares) at Mar. 31, 2018 | 21,549,244 | | | | |
Redeemable convertible preferred stock, beginning at Mar. 31, 2018 | $ 138,866 | | | | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | |
Accretion of preferred stock to redemption value | $ 41 | | | | |
Redeemable convertible preferred stock, ending (in shares) at Jun. 30, 2018 | 21,549,244 | | | | |
Redeemable convertible preferred stock, ending at Jun. 30, 2018 | $ 138,907 | | | | |
Beginning balance (in shares) at Mar. 31, 2018 | | 4,648,078 | | 418,981 | |
Beginning balance at Mar. 31, 2018 | (124,124) | $ 5 | 4,951 | $ 0 | (129,080) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Accretion of preferred stock to redemption value | (41) | | (41) | | |
Exercise of common stock options (in shares) | | 535,320 | | | |
Exercise of common stock options | 1 | $ 1 | | | |
Stock-based compensation | 710 | | 710 | | |
Net loss | (9,423) | | | | (9,423) |
Ending balance (in shares) at Jun. 30, 2018 | | 5,183,398 | | 418,981 | |
Ending balance at Jun. 30, 2018 | $ (132,877) | $ 6 | 5,620 | $ 0 | (138,503) |
Redeemable convertible preferred stock, beginning (in shares) at Dec. 31, 2018 | 26,831,246 | | | | |
Redeemable convertible preferred stock, beginning at Dec. 31, 2018 | $ 197,842 | | | | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | |
Accretion of preferred stock to redemption value | $ 46 | | | | |
Redeemable convertible preferred stock, ending (in shares) at Mar. 31, 2019 | 26,831,246 | | | | |
Redeemable convertible preferred stock, ending at Mar. 31, 2019 | $ 197,888 | | | | |
Beginning balance (in shares) at Dec. 31, 2018 | | 5,193,915 | | 418,981 | |
Beginning balance at Dec. 31, 2018 | (149,753) | $ 6 | 7,290 | $ 0 | (157,049) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Accretion of preferred stock to redemption value | (46) | | (46) | | |
Exercise of common stock options (in shares) | | 1,335 | | | |
Exercise of common stock options | 12 | | 12 | | |
Stock-based compensation | 1,137 | | 1,137 | | |
Net loss | (11,573) | | | | (11,573) |
Ending balance (in shares) at Mar. 31, 2019 | | 5,195,250 | | 418,981 | |
Ending balance at Mar. 31, 2019 | $ (160,223) | $ 6 | 8,393 | $ 0 | (168,622) |
Redeemable convertible preferred stock, beginning (in shares) at Dec. 31, 2018 | 26,831,246 | | | | |
Redeemable convertible preferred stock, beginning at Dec. 31, 2018 | $ 197,842 | | | | |
Redeemable convertible preferred stock, ending (in shares) at Jun. 30, 2019 | 0 | | | | |
Redeemable convertible preferred stock, ending at Jun. 30, 2019 | $ 0 | | | | |
Beginning balance (in shares) at Dec. 31, 2018 | | 5,193,915 | | 418,981 | |
Beginning balance at Dec. 31, 2018 | $ (149,753) | $ 6 | 7,290 | $ 0 | (157,049) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Exercise of common stock options (in shares) | 46,038 | | | | |
Reclassification of warrants to additional paid-in capital | $ 476 | | | | |
Net loss | (26,020) | | | | |
Ending balance (in shares) at Jun. 30, 2019 | | 23,498,786 | | 418,981 | |
Ending balance at Jun. 30, 2019 | $ 89,944 | $ 24 | 272,989 | $ 0 | (183,069) |
Redeemable convertible preferred stock, beginning (in shares) at Mar. 31, 2019 | 26,831,246 | | | | |
Redeemable convertible preferred stock, beginning at Mar. 31, 2019 | $ 197,888 | | | | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | |
Conversion of preferred stock to common stock upon closing of the IPO (in shares) | (26,831,246) | | | | |
Conversion of preferred stock to common stock upon closing of the initial public offering | $ (197,888) | | | | |
Redeemable convertible preferred stock, ending (in shares) at Jun. 30, 2019 | 0 | | | | |
Redeemable convertible preferred stock, ending at Jun. 30, 2019 | $ 0 | | | | |
Beginning balance (in shares) at Mar. 31, 2019 | | 5,195,250 | | 418,981 | |
Beginning balance at Mar. 31, 2019 | (160,223) | $ 6 | 8,393 | $ 0 | (168,622) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Exercise of common stock options (in shares) | | 44,697 | | | |
Exercise of common stock options | 211 | | 211 | | |
Conversion of preferred stock to common stock upon closing of the initial public offering (in shares) | | 14,641,997 | | | |
Conversion of preferred stock to common stock upon closing of the initial public offering | 197,888 | $ 15 | 197,873 | | |
Issuance of common stock, net (in shares) | | 3,571,428 | | | |
Issuance of common stock, net of issuance costs of $6,896 | 64,532 | $ 3 | 64,529 | | |
Reclassification of warrants to additional paid-in capital | 476 | | 476 | | |
Exercise of common stock warrant (in shares) | | 45,414 | | | |
Stock-based compensation | 1,507 | | 1,507 | | |
Net loss | (14,447) | | | | (14,447) |
Ending balance (in shares) at Jun. 30, 2019 | | 23,498,786 | | 418,981 | |
Ending balance at Jun. 30, 2019 | $ 89,944 | $ 24 | $ 272,989 | $ 0 | $ (183,069) |