CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (DEFICIT) - USD ($) $ in Thousands | Total | Common Stock (Class A and B) | Additional Paid-in-Capital | Accumulated Other Comprehensive Income | Accumulated Deficit |
Shares, Outstanding, Beginning at Dec. 31, 2017 | | 42,369,000 | | | |
Beginning of the period at Dec. 31, 2017 | $ (16,934) | $ 42 | $ 248,289 | $ 72 | $ (265,337) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Stock-based compensation expense | 5,905 | | 5,905 | | |
Issuance of common stock upon exercise of stock options (in shares) | | 296,000 | | | |
Issuance of common stock upon exercise of stock options | 3,076 | $ 1 | 3,075 | | |
Issuance of common stock under employee stock purchase plan (in shares) | | 80,000 | | | |
Issuance of common stock under employee stock purchase plan | 1,370 | | 1,370 | | |
Issuance of restricted stock units (in shares) | | 9,000 | | | |
Tax withholding related to net share settlements of stock-based compensation awards (in shares) | | (61,000) | | | |
Tax withholding related to net share settlements of stock-based compensation awards | (1,342) | | (1,342) | | |
Net loss | (9,618) | | | | (9,618) |
Other comprehensive income (loss) | (56) | | | (56) | |
End of period at Mar. 31, 2018 | (9,218) | $ 43 | 257,297 | 16 | (266,574) |
Shares, Outstanding, Ending at Mar. 31, 2018 | | 42,693,000 | | | |
Shares, Outstanding, Beginning at Dec. 31, 2017 | | 42,369,000 | | | |
Beginning of the period at Dec. 31, 2017 | (16,934) | $ 42 | 248,289 | 72 | (265,337) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Net loss | (31,386) | | | | |
Other comprehensive income (loss) | 3 | | | | |
End of period at Jun. 30, 2018 | (17,664) | $ 43 | 270,560 | 75 | (288,342) |
Shares, Outstanding, Ending at Jun. 30, 2018 | | 43,062,000 | | | |
Shares, Outstanding, Beginning at Mar. 31, 2018 | | 42,693,000 | | | |
Beginning of the period at Mar. 31, 2018 | (9,218) | $ 43 | 257,297 | 16 | (266,574) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Stock-based compensation expense | 10,465 | | 10,465 | | |
Issuance of common stock upon exercise of stock options (in shares) | | 328,000 | | | |
Issuance of common stock upon exercise of stock options | 3,317 | | 3,317 | | |
Issuance of restricted stock units (in shares) | | 64,000 | | | |
Tax withholding related to net share settlements of stock-based compensation awards (in shares) | | (23,000) | | | |
Tax withholding related to net share settlements of stock-based compensation awards | (519) | | (519) | | |
Net loss | (21,768) | | | | (21,768) |
Other comprehensive income (loss) | 59 | | | 59 | |
End of period at Jun. 30, 2018 | (17,664) | $ 43 | 270,560 | 75 | (288,342) |
Shares, Outstanding, Ending at Jun. 30, 2018 | | 43,062,000 | | | |
Shares, Outstanding, Beginning at Dec. 31, 2018 | | 44,044,000 | | | |
Beginning of the period at Dec. 31, 2018 | (9,740) | $ 44 | 297,145 | 98 | (307,027) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Stock-based compensation expense | 8,193 | | 8,193 | | |
Issuance of common stock upon exercise of stock options (in shares) | | 961,000 | | | |
Issuance of common stock upon exercise of stock options | 11,055 | $ 1 | 11,054 | | |
Issuance of common stock under employee stock purchase plan (in shares) | | 101,000 | | | |
Issuance of common stock under employee stock purchase plan | 2,149 | | 2,149 | | |
Issuance of restricted stock units (in shares) | | 25,000 | | | |
Tax withholding related to net share settlements of stock-based compensation awards (in shares) | | (10,000) | | | |
Tax withholding related to net share settlements of stock-based compensation awards | (390) | | (390) | | |
Net loss | (7,463) | | | | (7,463) |
Other comprehensive income (loss) | 52 | | | 52 | |
End of period at Mar. 31, 2019 | 3,856 | $ 45 | 318,151 | 150 | (314,490) |
Shares, Outstanding, Ending at Mar. 31, 2019 | | 45,121,000 | | | |
Shares, Outstanding, Beginning at Dec. 31, 2018 | | 44,044,000 | | | |
Beginning of the period at Dec. 31, 2018 | $ (9,740) | $ 44 | 297,145 | 98 | (307,027) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | 1,416,176 | | | | |
Net loss | $ (15,785) | | | | |
Other comprehensive income (loss) | 134 | | | | |
End of period at Jun. 30, 2019 | 9,627 | $ 46 | 332,161 | 232 | (322,812) |
Shares, Outstanding, Ending at Jun. 30, 2019 | | 45,899,000 | | | |
Shares, Outstanding, Beginning at Mar. 31, 2019 | | 45,121,000 | | | |
Beginning of the period at Mar. 31, 2019 | 3,856 | $ 45 | 318,151 | 150 | (314,490) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Stock-based compensation expense | 8,513 | | 8,513 | | |
Issuance of common stock upon exercise of stock options (in shares) | | 455,000 | | | |
Issuance of common stock upon exercise of stock options | 5,498 | $ 1 | 5,497 | | |
Issuance of restricted stock units (in shares) | | 323,000 | | | |
Net loss | (8,322) | | | | (8,322) |
Other comprehensive income (loss) | 82 | | | 82 | |
End of period at Jun. 30, 2019 | $ 9,627 | $ 46 | $ 332,161 | $ 232 | $ (322,812) |
Shares, Outstanding, Ending at Jun. 30, 2019 | | 45,899,000 | | | |