Statements of Stockholders' Equity (Unaudited) - USD ($) $ in Thousands | Total | Common Stock [Member] | Additional Paid-in Capital [Member] | Accumulated Other Comprehensive Income (Loss) [Member] | Retained Earnings (Accumulated Deficit) [Member] |
Beginning Balance at Dec. 31, 2017 | $ 265,202 | $ 28 | $ 421,257 | $ (476) | $ (155,607) |
Beginning Balance, Shares at Dec. 31, 2017 | | 28,178,639 | | | |
Issuance of common stock upon follow-on public offering, net of issuance costs | 115,000 | $ 6 | 114,994 | | |
Issuance of stock, Shares | | 5,897,435 | | | |
Issuance costs related to the follow-on public offering | (7,387) | | (7,387) | | |
Issuance of common stock under equity incentive plans | 1,704 | | 1,704 | | |
Issuance of common stock under equity incentive plans, Shares | | 311,179 | | | |
Repurchase of shares to satisfy tax withholding obligations | (997) | | (997) | | |
Repurchase of shares to satisfy tax withholding obligations, Shares | | (52,608) | | | |
Cumulative effect of adoption of ASU | ASU 2014-09 [Member] | 1,374 | | | | 1,374 |
Stock-based compensation expense | 7,820 | | 7,820 | | |
Other comprehensive gain (loss) | (110) | | | (110) | |
Net loss | (20,390) | | | | (20,390) |
Ending Balance at Mar. 31, 2018 | 362,216 | $ 34 | 537,391 | (586) | (174,623) |
Ending Balance, Shares at Mar. 31, 2018 | | 34,334,645 | | | |
Beginning Balance at Dec. 31, 2017 | 265,202 | $ 28 | 421,257 | (476) | (155,607) |
Beginning Balance, Shares at Dec. 31, 2017 | | 28,178,639 | | | |
Net loss | (101,694) | | | | |
Ending Balance at Sep. 30, 2018 | 296,778 | $ 34 | 552,921 | (250) | (255,927) |
Ending Balance, Shares at Sep. 30, 2018 | | 34,531,817 | | | |
Beginning Balance at Mar. 31, 2018 | 362,216 | $ 34 | 537,391 | (586) | (174,623) |
Beginning Balance, Shares at Mar. 31, 2018 | | 34,334,645 | | | |
Issuance of common stock under equity incentive plans | 1,160 | | 1,160 | | |
Issuance of common stock under equity incentive plans, Shares | | 122,278 | | | |
Repurchase of shares to satisfy tax withholding obligations | (101) | | (101) | | |
Repurchase of shares to satisfy tax withholding obligations, Shares | | (5,766) | | | |
Stock-based compensation expense | 7,435 | | 7,435 | | |
In transit: issuance of common stock under equity incentive plans, Shares | | 3,661 | | | |
In transit: repurchase of shares to satisfy tax withholding, Shares | | (4,365) | | | |
Other comprehensive gain (loss) | 208 | | | 208 | |
Net loss | (34,060) | | | | (34,060) |
Ending Balance at Jun. 30, 2018 | 336,858 | $ 34 | 545,885 | (378) | (208,683) |
Ending Balance, Shares at Jun. 30, 2018 | | 34,450,453 | | | |
Issuance of common stock under equity incentive plans | 158 | | 158 | | |
Issuance of common stock under equity incentive plans, Shares | | 129,022 | | | |
Repurchase of shares to satisfy tax withholding obligations | (757) | | (757) | | |
Repurchase of shares to satisfy tax withholding obligations, Shares | | (47,658) | | | |
Stock-based compensation expense | 7,634 | | 7,634 | | |
Other comprehensive gain (loss) | 128 | | | 128 | |
Net loss | (47,244) | | | | (47,244) |
Ending Balance at Sep. 30, 2018 | 296,778 | $ 34 | 552,921 | (250) | (255,927) |
Ending Balance, Shares at Sep. 30, 2018 | | 34,531,817 | | | |
Beginning Balance at Dec. 31, 2018 | $ 265,139 | $ 34 | 559,892 | (106) | (294,681) |
Beginning Balance, Shares at Dec. 31, 2018 | 34,745,721 | 34,745,721 | | | |
Issuance of common stock under equity incentive plans | $ 222 | | 222 | | |
Issuance of common stock under equity incentive plans, Shares | | 150,666 | | | |
Repurchase of shares to satisfy tax withholding obligations | (670) | | (670) | | |
Repurchase of shares to satisfy tax withholding obligations, Shares | | (57,703) | | | |
Stock-based compensation expense | 4,872 | | 4,872 | | |
Other comprehensive gain (loss) | 148 | | | 148 | |
Net loss | (35,385) | | | | (35,385) |
Ending Balance at Mar. 31, 2019 | 234,326 | $ 34 | 564,316 | 42 | (330,066) |
Ending Balance, Shares at Mar. 31, 2019 | | 34,838,684 | | | |
Beginning Balance at Dec. 31, 2018 | $ 265,139 | $ 34 | 559,892 | (106) | (294,681) |
Beginning Balance, Shares at Dec. 31, 2018 | 34,745,721 | 34,745,721 | | | |
Net loss | $ (105,845) | | | | |
Ending Balance at Sep. 30, 2019 | $ 178,434 | $ 34 | 578,847 | 79 | (400,526) |
Ending Balance, Shares at Sep. 30, 2019 | 35,099,100 | 35,099,100 | | | |
Beginning Balance at Mar. 31, 2019 | $ 234,326 | $ 34 | 564,316 | 42 | (330,066) |
Beginning Balance, Shares at Mar. 31, 2019 | | 34,838,684 | | | |
Issuance of common stock under equity incentive plans | 772 | | 772 | | |
Issuance of common stock under equity incentive plans, Shares | | 131,586 | | | |
Repurchase of shares to satisfy tax withholding obligations | (58) | | (58) | | |
Repurchase of shares to satisfy tax withholding obligations, Shares | | (5,957) | | | |
Stock-based compensation expense | 5,863 | | 5,863 | | |
Other comprehensive gain (loss) | 100 | | | 100 | |
Net loss | (34,391) | | | | (34,391) |
Ending Balance at Jun. 30, 2019 | 206,612 | $ 34 | 570,893 | 142 | (364,457) |
Ending Balance, Shares at Jun. 30, 2019 | | 34,964,313 | | | |
Issuance of common stock under equity incentive plans | 4 | | 4 | | |
Issuance of common stock under equity incentive plans, Shares | | 264,419 | | | |
Repurchase of shares to satisfy tax withholding obligations | (706) | | (706) | | |
Repurchase of shares to satisfy tax withholding obligations, Shares | | (129,632) | | | |
Stock-based compensation expense | 8,656 | | 8,656 | | |
Other comprehensive gain (loss) | (63) | | | (63) | |
Net loss | (36,069) | | | | (36,069) |
Ending Balance at Sep. 30, 2019 | $ 178,434 | $ 34 | $ 578,847 | $ 79 | $ (400,526) |
Ending Balance, Shares at Sep. 30, 2019 | 35,099,100 | 35,099,100 | | | |