Condensed Consolidated Statements of Stockholders Equity (Unaudited) - USD ($) $ in Thousands | Total | Common Stock [Member] | Additional Paid-in Capital [Member] | Accumulated Other Comprehensive (Loss)/Income [Member] | Accumulated Deficit [Member] |
Balance at Dec. 31, 2017 | $ 184,028 | $ 5 | $ 439,048 | $ (963) | $ (254,062) |
Balance, shares at Dec. 31, 2017 | | 49,015,339 | | | |
Stock-based compensation expense | 3,429 | | 3,429 | | |
Adoption of Topic 606 | 6,146 | | | | 6,146 |
Issuance of common stock upon follow-on offerings, net of issuance costs | 70,191 | $ 2 | 70,189 | | |
Issuance of common stock upon follow-on offerings, net of issuance costs, shares | | 11,642,128 | | | |
Issuance of common stock upon exercise of stock options | 308 | | 308 | | |
Issuance of common stock upon exercise of stock options, shares | | 1,361,546 | | | |
Issuance of common stock upon release of restricted stock units, shares | | 328,952 | | | |
Restricted stock surrendered for taxes, shares | | (115,593) | | | |
Taxes paid for RSUs | (801) | | (801) | | |
Foreign currency translation adjustments | (75) | | | (75) | |
Unrealized gain on marketable securities, net | 17 | | | 17 | |
Net loss | (17,200) | | | | (17,200) |
Balance at Mar. 31, 2018 | 246,043 | $ 7 | 512,173 | (1,021) | (265,116) |
Balance, shares at Mar. 31, 2018 | | 62,232,372 | | | |
Balance at Dec. 31, 2017 | 184,028 | $ 5 | 439,048 | (963) | (254,062) |
Balance, shares at Dec. 31, 2017 | | 49,015,339 | | | |
Foreign currency translation adjustments | (21) | | | | |
Unrealized gain on marketable securities, net | 129 | | | | |
Net loss | (56,968) | | | | |
Balance at Sep. 30, 2018 | 215,553 | $ 6 | 521,286 | (855) | (304,884) |
Balance, shares at Sep. 30, 2018 | | 62,826,416 | | | |
Balance at Mar. 31, 2018 | 246,043 | $ 7 | 512,173 | (1,021) | (265,116) |
Balance, shares at Mar. 31, 2018 | | 62,232,372 | | | |
Stock-based compensation expense | 5,826 | | 5,826 | | |
Issuance of common stock upon follow-on offerings, net of issuance costs | (2) | | (2) | | |
Issuance of common stock upon exercise of stock options | 264 | | 264 | | |
Issuance of common stock upon exercise of stock options, shares | | 127,554 | | | |
Purchase and common stock issued under employee stock purchase plan | 149 | | 149 | | |
Purchase and common stock issued under employee stock purchase plan, shares | | 58,294 | | | |
Issuance of common stock upon release of restricted stock units, shares | | 241,764 | | | |
Restricted stock surrendered for taxes | (1) | $ (1) | | | |
Restricted stock surrendered for taxes, shares | | (22,873) | | | |
Taxes paid for RSUs | (135) | | (135) | | |
Foreign currency translation adjustments | 54 | | | 54 | |
Unrealized gain on marketable securities, net | 59 | | | 59 | |
Net loss | (18,810) | | | | (18,810) |
Balance at Jun. 30, 2018 | 233,447 | $ 6 | 518,275 | (908) | (283,926) |
Balance, shares at Jun. 30, 2018 | | 62,637,111 | | | |
Stock-based compensation expense | 2,995 | | 2,995 | | |
Issuance of common stock upon follow-on offerings, net of issuance costs | 2 | | 2 | | |
Issuance of common stock upon exercise of stock options | 115 | | 115 | | |
Issuance of common stock upon exercise of stock options, shares | | 107,037 | | | |
Issuance of common stock upon release of restricted stock units, shares | | 101,250 | | | |
Taxes paid for RSUs | (101) | | (101) | | |
Unrealized gain on marketable securities, net | 53 | | | 53 | |
Net loss | (20,958) | | | | (20,958) |
Balance at Sep. 30, 2018 | 215,553 | $ 6 | 521,286 | (855) | (304,884) |
Balance, shares at Sep. 30, 2018 | | 62,826,416 | | | |
Restricted stock unit withholdings, shares | | (18,982) | | | |
Balance at Dec. 31, 2018 | 201,167 | $ 6 | 522,503 | (799) | (320,543) |
Balance, shares at Dec. 31, 2018 | | 62,965,468 | | | |
Stock-based compensation expense | 1,762 | | 1,762 | | |
Issuance of common stock upon exercise of stock options | 162 | | 162 | | |
Issuance of common stock upon exercise of stock options, shares | | 118,482 | | | |
Issuance of common stock upon release of restricted stock units, shares | | 397,302 | | | |
Restricted stock surrendered for taxes, shares | | (145,603) | | | |
Taxes paid for RSUs | (504) | | (504) | | |
Foreign currency translation adjustments | 42 | | | 42 | |
Unrealized gain on marketable securities, net | 3 | | | 3 | |
Net loss | (14,489) | | | | (14,489) |
Balance at Mar. 31, 2019 | 188,143 | $ 6 | 523,923 | (754) | (335,032) |
Balance, shares at Mar. 31, 2019 | | 63,335,649 | | | |
Balance at Dec. 31, 2018 | $ 201,167 | $ 6 | 522,503 | (799) | (320,543) |
Balance, shares at Dec. 31, 2018 | | 62,965,468 | | | |
Issuance of common stock upon exercise of stock options, shares | 1,133,000 | | | | |
Foreign currency translation adjustments | $ 27 | | | | |
Unrealized gain on marketable securities, net | 27 | | | | |
Net loss | (45,561) | | | | |
Balance at Sep. 30, 2019 | 164,214 | $ 7 | 531,056 | (745) | (366,104) |
Balance, shares at Sep. 30, 2019 | | 64,581,538 | | | |
Balance at Mar. 31, 2019 | 188,143 | $ 6 | 523,923 | (754) | (335,032) |
Balance, shares at Mar. 31, 2019 | | 63,335,649 | | | |
Stock-based compensation expense | 2,626 | | 2,626 | | |
Issuance of common stock upon follow-on offerings, net of issuance costs | 134 | | 134 | | |
Issuance of common stock upon follow-on offerings, net of issuance costs, shares | | 20,000 | | | |
Issuance of common stock upon exercise of stock options | 2,312 | | 2,312 | | |
Issuance of common stock upon exercise of stock options, shares | | 823,028 | | | |
Purchase and common stock issued under employee stock purchase plan | 163 | | 163 | | |
Purchase and common stock issued under employee stock purchase plan, shares | | 51,112 | | | |
Issuance of common stock upon release of restricted stock units, shares | | 219,704 | | | |
Restricted stock surrendered for taxes, shares | | (72,516) | | | |
Taxes paid for RSUs | (700) | | (700) | | |
Foreign currency translation adjustments | (4) | | | (4) | |
Unrealized gain on marketable securities, net | 20 | | | 20 | |
Net loss | (14,954) | | | | (14,954) |
Balance at Jun. 30, 2019 | 177,740 | $ 6 | 528,458 | (738) | (349,986) |
Balance, shares at Jun. 30, 2019 | | 64,376,977 | | | |
Stock-based compensation expense | 2,661 | | 2,661 | | |
Issuance of common stock upon exercise of stock options | 145 | $ 1 | 144 | | |
Issuance of common stock upon exercise of stock options, shares | | 191,371 | | | |
Issuance of common stock upon release of restricted stock units, shares | | 27,350 | | | |
Restricted stock surrendered for taxes, shares | | (14,160) | | | |
Taxes paid for RSUs | (207) | | (207) | | |
Foreign currency translation adjustments | (11) | | | (11) | |
Unrealized gain on marketable securities, net | 4 | | | 4 | |
Net loss | (16,118) | | | | (16,118) |
Balance at Sep. 30, 2019 | $ 164,214 | $ 7 | $ 531,056 | $ (745) | $ (366,104) |
Balance, shares at Sep. 30, 2019 | | 64,581,538 | | | |