Consolidated Statements of Stockholders' Equity - USD ($) shares in Thousands, $ in Thousands | Total | Common stock | Additional paid-in capital | Accumulated other comprehensive income (loss) | Accumulated deficit | Cumulative Effect, Period of Adoption, AdjustmentAdditional paid-in capital | Cumulative Effect, Period of Adoption, AdjustmentAccumulated deficit |
Beginning balance (in shares) at Dec. 31, 2018 | | 36,705 | | | | | |
Beginning balance at Dec. 31, 2018 | $ 217,783 | $ 15 | $ 324,656 | $ (2,157) | $ (104,731) | $ (161) | $ 161 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Net loss | (1,390) | | | | (1,390) | | |
Issuance of common stock pursuant to exercise of stock options (in shares) | | 518 | | | | | |
Issuance of common stock pursuant to exercise of stock options | 915 | | 915 | | | | |
Issuance of common stock pursuant to vesting of restricted stock awards and units, net of stock withheld for tax (in shares) | | 399 | | | | | |
Issuance of common stock pursuant to vesting of restricted stock awards and units, net of stock withheld for tax | (480) | | (480) | | | | |
Issuance of common stock under the Employee Stock Purchase Plan (in shares) | | 43 | | | | | |
Issuance of common stock under the Employee Stock Purchase Plan | 762 | | 762 | | | | |
Stock-based compensation | 4,290 | | 4,290 | | | | |
Cumulative translation adjustment | 57 | | | 57 | | | |
Ending balance (in shares) at Jun. 30, 2019 | | 37,665 | | | | | |
Ending balance at Jun. 30, 2019 | 221,937 | $ 15 | 329,982 | (2,100) | (105,960) | | |
Beginning balance (in shares) at Mar. 31, 2019 | | 36,906 | | | | | |
Beginning balance at Mar. 31, 2019 | 218,663 | $ 15 | 326,870 | (2,417) | (105,805) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Net loss | (155) | | | | (155) | | |
Issuance of common stock pursuant to exercise of stock options (in shares) | | 317 | | | | | |
Issuance of common stock pursuant to exercise of stock options | 449 | | 449 | | | | |
Issuance of common stock pursuant to vesting of restricted stock awards and units, net of stock withheld for tax (in shares) | | 399 | | | | | |
Issuance of common stock pursuant to vesting of restricted stock awards and units, net of stock withheld for tax | (480) | | (480) | | | | |
Issuance of common stock under the Employee Stock Purchase Plan (in shares) | | 43 | | | | | |
Issuance of common stock under the Employee Stock Purchase Plan | 762 | | 762 | | | | |
Stock-based compensation | 2,381 | | 2,381 | | | | |
Cumulative translation adjustment | 317 | | | 317 | | | |
Ending balance (in shares) at Jun. 30, 2019 | | 37,665 | | | | | |
Ending balance at Jun. 30, 2019 | $ 221,937 | $ 15 | 329,982 | (2,100) | (105,960) | | |
Beginning balance (in shares) at Dec. 31, 2019 | 38,084 | 38,084 | | | | | |
Beginning balance at Dec. 31, 2019 | $ 216,608 | $ 15 | 336,732 | (2,685) | (117,454) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Net loss | $ (14,305) | | | | (14,305) | | |
Issuance of common stock pursuant to exercise of stock options (in shares) | 518 | 518 | | | | | |
Issuance of common stock pursuant to exercise of stock options | $ 857 | | 857 | | | | |
Issuance of common stock pursuant to vesting of restricted stock awards and units, net of stock withheld for tax (in shares) | | 209 | | | | | |
Issuance of common stock pursuant to vesting of restricted stock awards and units, net of stock withheld for tax | $ (2,157) | | (2,157) | | | | |
Issuance of common stock under the Employee Stock Purchase Plan (in shares) | 39 | 39 | | | | | |
Issuance of common stock under the Employee Stock Purchase Plan | $ 685 | | 685 | | | | |
Stock-based compensation | 9,800 | | 9,800 | | | | |
Cumulative translation adjustment | $ (163) | | | (163) | | | |
Ending balance (in shares) at Jun. 30, 2020 | 38,850 | 38,850 | | | | | |
Ending balance at Jun. 30, 2020 | $ 211,325 | $ 15 | 345,917 | (2,848) | (131,759) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Accounting Standards Update [Extensible List] | us-gaap:AccountingStandardsUpdate201602Member | | | | | | |
Beginning balance (in shares) at Mar. 31, 2020 | | 38,473 | | | | | |
Beginning balance at Mar. 31, 2020 | $ 212,947 | $ 15 | 341,042 | (3,181) | (124,929) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Net loss | (6,830) | | | | (6,830) | | |
Issuance of common stock pursuant to exercise of stock options (in shares) | | 145 | | | | | |
Issuance of common stock pursuant to exercise of stock options | 299 | | 299 | | | | |
Issuance of common stock pursuant to vesting of restricted stock awards and units, net of stock withheld for tax (in shares) | | 193 | | | | | |
Issuance of common stock pursuant to vesting of restricted stock awards and units, net of stock withheld for tax | (2,146) | | (2,146) | | | | |
Issuance of common stock under the Employee Stock Purchase Plan (in shares) | | 39 | | | | | |
Issuance of common stock under the Employee Stock Purchase Plan | 685 | | 685 | | | | |
Stock-based compensation | 6,037 | | 6,037 | | | | |
Cumulative translation adjustment | $ 333 | | | 333 | | | |
Ending balance (in shares) at Jun. 30, 2020 | 38,850 | 38,850 | | | | | |
Ending balance at Jun. 30, 2020 | $ 211,325 | $ 15 | $ 345,917 | $ (2,848) | $ (131,759) | | |