Unaudited Condensed Consolidated Statements of Stockholders' Equity - USD ($) $ in Thousands | Common Stock [Member] | Additional Paid-in Capital [Member] | Retained Earnings [Member] | AOCI Attributable to Parent [Member] | Total |
Balance (in shares) at Dec. 31, 2017 | 42,780,229 | | | | |
Balance at Dec. 31, 2017 | $ 43 | $ 484,934 | $ (74,145) | $ 569 | $ 411,401 |
Issuance of common stock from exercise of stock options (in shares) | 136,690 | | | | |
Issuance of common stock from exercise of stock options | $ 0 | 291 | 0 | 0 | 291 |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax (in shares) | 102,702 | | | | |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax | $ 0 | | 0 | 0 | |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax | | (1,923) | | | (1,923) |
Issuance of common stock from employee stock purchase plan purchases (in shares) | 177,771 | | | | |
Issuance of common stock from employee stock purchase plan purchases | $ 0 | 3,704 | 0 | 0 | 3,704 |
Stock-based compensation expense | 0 | 14,553 | 0 | 0 | 14,553 |
Net loss | 0 | 0 | (22,991) | 0 | (22,991) |
Other comprehensive income, net | $ 0 | 0 | 0 | (275) | (275) |
Balance (in shares) at Mar. 31, 2018 | 43,197,392 | | | | |
Balance at Mar. 31, 2018 | $ 43 | 501,559 | (97,136) | 294 | 404,760 |
Balance (in shares) at Dec. 31, 2017 | 42,780,229 | | | | |
Balance at Dec. 31, 2017 | $ 43 | 484,934 | (74,145) | 569 | $ 411,401 |
Issuance of common stock from employee stock purchase plan purchases (in shares) | | | | | 283,493 |
Net loss | | | | | $ (74,120) |
Balance (in shares) at Sep. 30, 2018 | 44,027,738 | | | | |
Balance at Sep. 30, 2018 | $ 44 | 524,915 | (148,265) | 573 | 377,267 |
Balance (in shares) at Mar. 31, 2018 | 43,197,392 | | | | |
Balance at Mar. 31, 2018 | $ 43 | 501,559 | (97,136) | 294 | 404,760 |
Issuance of common stock from exercise of stock options (in shares) | 21,614 | | | | |
Issuance of common stock from exercise of stock options | $ 0 | 198 | 0 | 0 | 198 |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax (in shares) | 595,337 | | | | |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax | $ 1 | | 0 | 0 | |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax | | (10,398) | | | (10,397) |
Stock-based compensation expense | 0 | 16,216 | 0 | 0 | 16,216 |
Net loss | 0 | 0 | (28,464) | 0 | (28,464) |
Other comprehensive income, net | $ 0 | 0 | 0 | 139 | 139 |
Balance (in shares) at Jun. 30, 2018 | 43,814,343 | | | | |
Balance at Jun. 30, 2018 | $ 44 | 507,575 | (125,600) | 433 | 382,452 |
Issuance of common stock from exercise of stock options (in shares) | 5,998 | | | | |
Issuance of common stock from exercise of stock options | $ 0 | 38 | 0 | 0 | 38 |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax (in shares) | 101,675 | | | | |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax | $ 0 | | 0 | 0 | |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax | | (1,640) | | | (1,640) |
Issuance of common stock from employee stock purchase plan purchases (in shares) | 105,722 | | | | |
Issuance of common stock from employee stock purchase plan purchases | $ 0 | 2,202 | 0 | 0 | 2,202 |
Stock-based compensation expense | 0 | 16,740 | 0 | 0 | 16,740 |
Net loss | 0 | 0 | (22,665) | 0 | (22,665) |
Other comprehensive income, net | $ 0 | 0 | 0 | 140 | 140 |
Balance (in shares) at Sep. 30, 2018 | 44,027,738 | | | | |
Balance at Sep. 30, 2018 | $ 44 | 524,915 | (148,265) | 573 | 377,267 |
Balance (in shares) at Dec. 31, 2018 | 44,292,722 | | | | |
Balance at Dec. 31, 2018 | $ 44 | 536,157 | (169,896) | 389 | 366,694 |
Issuance of common stock from exercise of stock options (in shares) | 78,205 | | | | |
Issuance of common stock from exercise of stock options | $ 0 | 646 | 0 | 0 | 646 |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax (in shares) | 168,227 | | | | |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax | $ 1 | | 0 | 0 | |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax | | (4,017) | | | (4,016) |
Issuance of common stock from employee stock purchase plan purchases (in shares) | 121,549 | | | | |
Issuance of common stock from employee stock purchase plan purchases | $ 0 | 3,477 | 0 | 0 | 3,477 |
Stock-based compensation expense | 0 | 18,758 | 0 | 0 | 18,758 |
Net loss | 0 | 0 | (22,745) | 0 | (22,745) |
Other comprehensive income, net | $ 0 | 0 | 0 | 540 | 540 |
Balance (in shares) at Mar. 31, 2019 | 44,660,703 | | | | |
Balance at Mar. 31, 2019 | $ 45 | 555,021 | (192,641) | 929 | 363,354 |
Balance (in shares) at Dec. 31, 2018 | 44,292,722 | | | | |
Balance at Dec. 31, 2018 | $ 44 | 536,157 | (169,896) | 389 | $ 366,694 |
Issuance of common stock from exercise of stock options (in shares) | | | | | 189,445 |
Issuance of common stock from employee stock purchase plan purchases (in shares) | | | | | 208,721 |
Net loss | | | | | $ (59,503) |
Balance (in shares) at Sep. 30, 2019 | 45,651,211 | | | | |
Balance at Sep. 30, 2019 | $ 46 | 575,456 | (229,399) | 1,639 | 347,742 |
Balance (in shares) at Mar. 31, 2019 | 44,660,703 | | | | |
Balance at Mar. 31, 2019 | $ 45 | 555,021 | (192,641) | 929 | 363,354 |
Issuance of common stock from exercise of stock options (in shares) | 45,317 | | | | |
Issuance of common stock from exercise of stock options | $ 0 | 486 | 0 | 0 | 486 |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax (in shares) | 695,379 | | | | |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax | $ 1 | | 0 | 0 | |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax | | (18,386) | | | (18,385) |
Stock-based compensation expense | 0 | 17,961 | 0 | 0 | 17,961 |
Net loss | 0 | 0 | (20,578) | 0 | (20,578) |
Other comprehensive income, net | $ 0 | 0 | 0 | 566 | 566 |
Balance (in shares) at Jun. 30, 2019 | 45,401,399 | | | | |
Balance at Jun. 30, 2019 | $ 46 | 555,082 | (213,219) | 1,495 | 343,404 |
Issuance of common stock from exercise of stock options (in shares) | 65,923 | | | | |
Issuance of common stock from exercise of stock options | $ 0 | 775 | 0 | 0 | 775 |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax (in shares) | 96,717 | | | | |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax | $ 0 | | 0 | 0 | |
Issuance of common stock from restricted stock unit grant, net of shares withheld for tax | | (3,176) | | | (3,176) |
Issuance of common stock from employee stock purchase plan purchases (in shares) | 87,172 | | | | |
Issuance of common stock from employee stock purchase plan purchases | $ 0 | 2,897 | 0 | 0 | 2,897 |
Stock-based compensation expense | 0 | 19,878 | 0 | 0 | 19,878 |
Net loss | 0 | 0 | (16,180) | 0 | (16,180) |
Other comprehensive income, net | $ 0 | 0 | 0 | 144 | 144 |
Balance (in shares) at Sep. 30, 2019 | 45,651,211 | | | | |
Balance at Sep. 30, 2019 | $ 46 | $ 575,456 | $ (229,399) | $ 1,639 | $ 347,742 |