Condensed Consolidated Statements of Stockholders' Equity (Unaudited) - USD ($) $ in Thousands | Total | Common Stock [Member] | Additional Paid-In Capital [Member] | Accumulated Other Comprehensive Income (Loss) [Member] | Accumulated Deficit [Member] |
Balance at Dec. 31, 2017 | $ 22,522 | $ 11 | $ 141,320 | $ (3) | $ (118,806) |
Balance, beginning of period, Shares at Dec. 31, 2017 | | 10,526,599 | | | |
Issuance of common stock upon ESPP purchase | 34 | | 34 | | |
Issuance of common stock upon ESPP purchase, Shares | | 9,522 | | | |
Stock-based compensation expense | 1,003 | | 1,003 | | |
Unrealized gain (loss) on debt securities, net | 3 | | | 3 | |
Net loss | (8,831) | | | | (8,831) |
Balance at Mar. 31, 2018 | 14,731 | $ 11 | 142,357 | | (127,637) |
Balance, end of period, Shares at Mar. 31, 2018 | | 10,536,121 | | | |
Balance at Dec. 31, 2017 | 22,522 | $ 11 | 141,320 | (3) | (118,806) |
Balance, beginning of period, Shares at Dec. 31, 2017 | | 10,526,599 | | | |
Unrealized gain (loss) on debt securities, net | (3) | | | | |
Net loss | (35,890) | | | | |
Balance at Sep. 30, 2018 | 33,767 | $ 14 | 188,455 | (6) | (154,696) |
Balance, end of period, Shares at Sep. 30, 2018 | | 14,379,413 | | | |
Balance at Mar. 31, 2018 | 14,731 | $ 11 | 142,357 | | (127,637) |
Balance, beginning of period, Shares at Mar. 31, 2018 | | 10,536,121 | | | |
Issuance of common stock upon exercise of stock options | 268 | | 268 | | |
Issuance of common stock upon exercise of stock options, Shares | | 28,151 | | | |
Issuance of common stock upon public offering, net of issuance costs | 42,890 | $ 3 | 42,887 | | |
Issuance of common stock upon public offering, net of issuance costs, shares | | 3,680,000 | | | |
Stock-based compensation expense | 1,321 | | 1,321 | | |
Unrealized gain (loss) on debt securities, net | (14) | | | (14) | |
Net loss | (9,915) | | | | (9,915) |
Balance at Jun. 30, 2018 | 49,281 | $ 14 | 186,833 | (14) | (137,552) |
Balance, end of period, Shares at Jun. 30, 2018 | | 14,244,272 | | | |
Issuance of common stock upon exercise of stock options | 27 | | 27 | | |
Issuance of common stock upon exercise of stock options, Shares | | 11,629 | | | |
Vesting of common stock issued under Product Development Agreement | 361 | | 361 | | |
Issuance of common stock under Product Development Agreement, Shares | | 115,526 | | | |
Issuance of common stock upon ESPP purchase | 62 | | 62 | | |
Issuance of common stock upon ESPP purchase, Shares | | 7,986 | | | |
Stock-based compensation expense | 1,172 | | 1,172 | | |
Unrealized gain (loss) on debt securities, net | 8 | | | 8 | |
Net loss | (17,144) | | | | (17,144) |
Balance at Sep. 30, 2018 | 33,767 | $ 14 | 188,455 | (6) | (154,696) |
Balance, end of period, Shares at Sep. 30, 2018 | | 14,379,413 | | | |
Balance at Dec. 31, 2018 | 66,592 | $ 19 | 237,795 | (25) | (171,197) |
Balance, beginning of period, Shares at Dec. 31, 2018 | | 19,211,759 | | | |
Issuance of common stock upon exercise of stock options | 65 | | 65 | | |
Issuance of common stock upon exercise of stock options, Shares | | 41,546 | | | |
Vesting of common stock issued under Product Development Agreement | 56 | | 56 | | |
Issuance of common stock upon ESPP purchase | 59 | | 59 | | |
Issuance of common stock upon ESPP purchase, Shares | | 7,138 | | | |
Stock-based compensation expense | 1,195 | | 1,195 | | |
Unrealized gain (loss) on debt securities, net | 30 | | | 30 | |
Net loss | (17,189) | | | | (17,189) |
Balance at Mar. 31, 2019 | 50,808 | $ 19 | 239,170 | 5 | (188,386) |
Balance, end of period, Shares at Mar. 31, 2019 | | 19,260,443 | | | |
Balance at Dec. 31, 2018 | $ 66,592 | $ 19 | 237,795 | (25) | (171,197) |
Balance, beginning of period, Shares at Dec. 31, 2018 | | 19,211,759 | | | |
Issuance of common stock upon exercise of stock options, Shares | 91,725 | | | | |
Unrealized gain (loss) on debt securities, net | $ 68 | | | | |
Net loss | (53,332) | | | | |
Balance at Sep. 30, 2019 | 71,659 | $ 24 | 296,121 | 43 | (224,529) |
Balance, end of period, Shares at Sep. 30, 2019 | | 24,494,185 | | | |
Balance at Mar. 31, 2019 | 50,808 | $ 19 | 239,170 | 5 | (188,386) |
Balance, beginning of period, Shares at Mar. 31, 2019 | | 19,260,443 | | | |
Issuance of common stock upon exercise of stock options | 62 | | 62 | | |
Issuance of common stock upon exercise of stock options, Shares | | 10,304 | | | |
Vesting of common stock issued under Product Development Agreement | 55 | | 55 | | |
Issuance of common stock upon public offering, net of issuance costs | 53,194 | $ 5 | 53,189 | | |
Issuance of common stock upon public offering, net of issuance costs, shares | | 5,175,000 | | | |
Stock-based compensation expense | 1,487 | | 1,487 | | |
Net loss | (17,527) | | | | (17,527) |
Balance at Jun. 30, 2019 | 88,079 | $ 24 | 293,963 | 5 | (205,913) |
Balance, end of period, Shares at Jun. 30, 2019 | | 24,445,747 | | | |
Issuance of common stock upon exercise of stock options | 379 | | 379 | | |
Issuance of common stock upon exercise of stock options, Shares | | 39,875 | | | |
Vesting of common stock issued under Product Development Agreement | 59 | | 59 | | |
Issuance of common stock upon ESPP purchase | 71 | | 71 | | |
Issuance of common stock upon ESPP purchase, Shares | | 8,563 | | | |
Stock-based compensation expense | 1,649 | | 1,649 | | |
Unrealized gain (loss) on debt securities, net | 38 | | | 38 | |
Net loss | (18,616) | | | | (18,616) |
Balance at Sep. 30, 2019 | $ 71,659 | $ 24 | $ 296,121 | $ 43 | $ (224,529) |
Balance, end of period, Shares at Sep. 30, 2019 | | 24,494,185 | | | |