Condensed Statements of Stockholders' Equity - USD ($) $ in Thousands | Total | Convertible Preferred Stock | Common Stock | Additional Paid-in Capital | Accumulated Other Comprehensive Income (Loss) | Accumulated Deficit |
Beginning balance at Dec. 31, 2017 | $ 83,462 | | $ 149,397 | $ 1 | $ 3,507 | $ (44) | $ (69,399) |
Beginning balance, shares at Dec. 31, 2017 | | | 16,215,896 | 6,751,157 | | | |
Settlement of fractional shares from reverse stock split, shares | | | | (15) | | | |
Vesting of early exercised stock options | 13 | | | | 13 | | |
Stock-based compensation | 431 | | | | 431 | | |
Repurchase of common stock, shares | | | | (41,935) | | | |
Net loss | (14,775) | | | | | | (14,775) |
Other comprehensive income (loss) | (27) | | | | | (27) | |
Ending balance at Mar. 31, 2018 | 69,104 | | $ 149,397 | $ 1 | 3,951 | (71) | (84,174) |
Ending balance, shares at Mar. 31, 2018 | | | 16,215,896 | 6,709,207 | | | |
Beginning balance at Dec. 31, 2017 | 83,462 | | $ 149,397 | $ 1 | 3,507 | (44) | (69,399) |
Beginning balance, shares at Dec. 31, 2017 | | | 16,215,896 | 6,751,157 | | | |
Net loss | (31,497) | | | | | | |
Other comprehensive income (loss) | 16 | | | | | | |
Ending balance at Jun. 30, 2018 | 53,267 | | $ 149,397 | $ 1 | 4,793 | (28) | (100,896) |
Ending balance, shares at Jun. 30, 2018 | | | 16,215,896 | 6,737,837 | | | |
Beginning balance at Mar. 31, 2018 | 69,104 | | $ 149,397 | $ 1 | 3,951 | (71) | (84,174) |
Beginning balance, shares at Mar. 31, 2018 | | | 16,215,896 | 6,709,207 | | | |
Issuance of common stock for exercise of stock options | 55 | | | | 55 | | |
Issuance of common stock for exercise of stock options, shares | | | | 28,630 | | | |
Vesting of early exercised stock options | 171 | | | | 171 | | |
Stock-based compensation | 616 | | | | 616 | | |
Net loss | (16,722) | | | | | | (16,722) |
Other comprehensive income (loss) | 43 | | | | | 43 | |
Ending balance at Jun. 30, 2018 | 53,267 | | $ 149,397 | $ 1 | 4,793 | (28) | (100,896) |
Ending balance, shares at Jun. 30, 2018 | | | 16,215,896 | 6,737,837 | | | |
Beginning balance at Dec. 31, 2018 | 133,221 | [1] | | $ 3 | 273,069 | (82) | (139,769) |
Beginning balance, shares at Dec. 31, 2018 | | | | 31,079,150 | | | |
Issuance of common stock for exercise of stock options | 789 | | | | 789 | | |
Issuance of common stock for exercise of stock options, shares | | | | 174,793 | | | |
Issuance of common stock pursuant to the ESPP | 588 | | | | 588 | | |
Issuance of common stock pursuant to the ESPP, shares | | | | 44,656 | | | |
Vesting of early exercised stock options | 113 | | | | 113 | | |
Stock-based compensation | 1,104 | | | | 1,104 | | |
Net loss | (23,016) | | | | | | (23,016) |
Other comprehensive income (loss) | 100 | | | | | 100 | |
Ending balance at Mar. 31, 2019 | 112,899 | | | $ 3 | 275,663 | 18 | (162,785) |
Ending balance, shares at Mar. 31, 2019 | | | | 31,298,599 | | | |
Beginning balance at Dec. 31, 2018 | 133,221 | [1] | | $ 3 | 273,069 | (82) | (139,769) |
Beginning balance, shares at Dec. 31, 2018 | | | | 31,079,150 | | | |
Net loss | (46,222) | | | | | | |
Other comprehensive income (loss) | 141 | | | | | | |
Ending balance at Jun. 30, 2019 | 91,484 | | | $ 3 | 277,413 | 59 | (185,991) |
Ending balance, shares at Jun. 30, 2019 | | | | 31,432,322 | | | |
Beginning balance at Mar. 31, 2019 | 112,899 | | | $ 3 | 275,663 | 18 | (162,785) |
Beginning balance, shares at Mar. 31, 2019 | | | | 31,298,599 | | | |
Issuance of common stock for exercise of stock options | 612 | | | | 612 | | |
Issuance of common stock for exercise of stock options, shares | | | | 133,723 | | | |
Vesting of early exercised stock options | 13 | | | | 13 | | |
Stock-based compensation | 1,125 | | | | 1,125 | | |
Net loss | (23,206) | | | | | | (23,206) |
Other comprehensive income (loss) | 41 | | | | | 41 | |
Ending balance at Jun. 30, 2019 | $ 91,484 | | | $ 3 | $ 277,413 | $ 59 | $ (185,991) |
Ending balance, shares at Jun. 30, 2019 | | | | 31,432,322 | | | |
|
[1] | The balance sheet as of December 31, 2018 is derived from the audited financial statements as of that date. |