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 | (42,350) | | | | |
Other comprehensive income (loss) | 15 | | | | |
End of period at Sep. 30, 2018 | (12,287) | $ 44 | 286,888 | 87 | (299,306) |
Shares, Outstanding, Ending at Sep. 30, 2018 | | 43,800,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 | $ 0 | 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 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Stock-based compensation expense | 6,949 | | 6,949 | | |
Issuance of common stock upon exercise of stock options (in shares) | | 635,000 | | | |
Issuance of common stock upon exercise of stock options | 7,534 | $ 1 | 7,533 | | |
Issuance of common stock under employee stock purchase plan (in shares) | | 99,000 | | | |
Issuance of common stock under employee stock purchase plan | 1,846 | | 1,846 | | |
Issuance of restricted stock units (in shares) | | 4,000 | | | |
Net loss | (10,964) | | | | (10,964) |
Other comprehensive income (loss) | 12 | | | 12 | |
End of period at Sep. 30, 2018 | (12,287) | $ 44 | 286,888 | 87 | (299,306) |
Shares, Outstanding, Ending at Sep. 30, 2018 | | 43,800,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,817,243 | | | | |
Net loss | $ (31,836) | | | | |
Other comprehensive income (loss) | 196 | | | | |
End of period at Sep. 30, 2019 | 70,134 | $ 47 | 408,656 | 294 | (338,863) |
Shares, Outstanding, Ending at Sep. 30, 2019 | | 46,422,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 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Stock-based compensation expense | 9,223 | | 9,223 | | |
Issuance of common stock upon exercise of stock options (in shares) | | 401,000 | | | |
Issuance of common stock upon exercise of stock options | 5,940 | $ 1 | 5,939 | | |
Issuance of common stock under employee stock purchase plan (in shares) | | 87,000 | | | |
Issuance of common stock under employee stock purchase plan | 2,773 | | 2,773 | | |
Issuance of restricted stock units (in shares) | | 35,000 | | | |
Equity component of convertible senior notes, net | 58,560 | | 58,560 | | |
Net loss | (16,051) | | | | (16,051) |
Other comprehensive income (loss) | 62 | | | 62 | |
End of period at Sep. 30, 2019 | $ 70,134 | $ 47 | $ 408,656 | $ 294 | $ (338,863) |
Shares, Outstanding, Ending at Sep. 30, 2019 | | 46,422,000 | | | |