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 | 76 | | | | |
Net loss | (36,010) | | | | |
Balance at Jun. 30, 2018 | 233,447 | $ 6 | 518,275 | (908) | (283,926) |
Balance, shares at Jun. 30, 2018 | | 62,637,111 | | | |
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 | | | |
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 | 942,000 | | | | |
Foreign currency translation adjustments | $ 38 | | | | |
Unrealized gain on marketable securities, net | 23 | | | | |
Net loss | (29,443) | | | | |
Balance at Jun. 30, 2019 | 177,740 | $ 6 | 528,458 | (738) | (349,986) |
Balance, shares at Jun. 30, 2019 | | 64,376,977 | | | |
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 | | | |