Condensed Consolidated Statements of Changes In Stockholders' Equity - USD ($) shares in Thousands, $ in Thousands | Total | Common Stock | Additional Paid-In Capital | Accumulated Deficit | Accumulated Other Comprehensive Income (Loss) |
Beginning balance (in shares) at Dec. 31, 2020 | | 66,875 | | | |
Beginning balance at Dec. 31, 2020 | $ 514,205 | $ 669 | $ 665,530 | $ (149,946) | $ (2,048) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Net income (loss) | 9,008 | | | 9,008 | |
Other comprehensive income (loss) | 808 | | | | 808 |
Stock option exercises and employee stock plan purchases (in shares) | | 155 | | | |
Stock option exercises and employee stock plan purchases | 2,380 | $ 1 | 2,379 | | |
Vesting of restricted stock awards and units (in shares) | | 489 | | | |
Vesting of restricted stock awards and units | 0 | $ 5 | (5) | | |
Shares withheld to cover taxes (in shares) | | (85) | | | |
Shares withheld to cover taxes | (1,599) | $ (1) | (1,598) | | |
Stock-based compensation | 3,317 | | 3,317 | | |
Ending balance (in shares) at Mar. 31, 2021 | | 67,434 | | | |
Ending balance at Mar. 31, 2021 | 528,119 | $ 674 | 669,623 | (140,938) | (1,240) |
Beginning balance (in shares) at Dec. 31, 2020 | | 66,875 | | | |
Beginning balance at Dec. 31, 2020 | 514,205 | $ 669 | 665,530 | (149,946) | (2,048) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Net income (loss) | (31,064) | | | | |
Other comprehensive income (loss) | 906 | | | | |
Ending balance (in shares) at Sep. 30, 2021 | | 67,659 | | | |
Ending balance at Sep. 30, 2021 | 499,344 | $ 677 | 680,819 | (181,010) | (1,142) |
Beginning balance (in shares) at Mar. 31, 2021 | | 67,434 | | | |
Beginning balance at Mar. 31, 2021 | 528,119 | $ 674 | 669,623 | (140,938) | (1,240) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Net income (loss) | (26,657) | | | (26,657) | |
Other comprehensive income (loss) | 240 | | | | 240 |
Stock option exercises and employee stock plan purchases (in shares) | | 116 | | | |
Stock option exercises and employee stock plan purchases | 2,043 | $ 1 | 2,042 | | |
Vesting of restricted stock awards and units (in shares) | | 51 | | | |
Vesting of restricted stock awards and units | 0 | $ 1 | (1) | | |
Shares withheld to cover taxes (in shares) | | (9) | | | |
Shares withheld to cover taxes | (193) | | (193) | | |
Stock-based compensation | 4,588 | | 4,588 | | |
Ending balance (in shares) at Jun. 30, 2021 | | 67,592 | | | |
Ending balance at Jun. 30, 2021 | 508,140 | $ 676 | 676,059 | (167,595) | (1,000) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Net income (loss) | (13,415) | | | (13,415) | |
Other comprehensive income (loss) | (142) | | | | (142) |
Stock option exercises and employee stock plan purchases (in shares) | | 48 | | | |
Stock option exercises and employee stock plan purchases | 961 | $ 1 | 960 | | |
Vesting of restricted stock awards and units (in shares) | | 23 | | | |
Vesting of restricted stock awards and units | 0 | | | | |
Shares withheld to cover taxes (in shares) | | (4) | | | |
Shares withheld to cover taxes | (67) | | (67) | | |
Stock-based compensation | 3,867 | | 3,867 | | |
Ending balance (in shares) at Sep. 30, 2021 | | 67,659 | | | |
Ending balance at Sep. 30, 2021 | $ 499,344 | $ 677 | 680,819 | (181,010) | (1,142) |
Beginning balance (in shares) at Dec. 31, 2021 | 67,739 | 67,739 | | | |
Beginning balance at Dec. 31, 2021 | $ 464,439 | $ 677 | 685,472 | (221,225) | (485) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Net income (loss) | 42,962 | | | 42,962 | |
Other comprehensive income (loss) | 2,396 | | | | 2,396 |
Stock option exercises and employee stock plan purchases (in shares) | | 296 | | | |
Stock option exercises and employee stock plan purchases | 5,934 | $ 3 | 5,931 | | |
Vesting of restricted stock awards and units (in shares) | | 645 | | | |
Vesting of restricted stock awards and units | 0 | $ 7 | (7) | | |
Shares withheld to cover taxes (in shares) | | (110) | | | |
Shares withheld to cover taxes | (5,504) | $ (1) | (5,503) | | |
Stock-based compensation | 5,623 | | 5,623 | | |
Ending balance (in shares) at Mar. 31, 2022 | | 68,570 | | | |
Ending balance at Mar. 31, 2022 | $ 515,850 | $ 686 | 691,516 | (178,263) | 1,911 |
Beginning balance (in shares) at Dec. 31, 2021 | 67,739 | 67,739 | | | |
Beginning balance at Dec. 31, 2021 | $ 464,439 | $ 677 | 685,472 | (221,225) | (485) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Net income (loss) | 147,252 | | | | |
Other comprehensive income (loss) | $ 3,479 | | | | |
Ending balance (in shares) at Sep. 30, 2022 | 68,809 | 68,809 | | | |
Ending balance at Sep. 30, 2022 | $ 638,050 | $ 688 | 708,341 | (73,973) | 2,994 |
Beginning balance (in shares) at Mar. 31, 2022 | | 68,570 | | | |
Beginning balance at Mar. 31, 2022 | 515,850 | $ 686 | 691,516 | (178,263) | 1,911 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Net income (loss) | 43,058 | | | 43,058 | |
Other comprehensive income (loss) | 413 | | | | 413 |
Stock option exercises and employee stock plan purchases (in shares) | | 61 | | | |
Stock option exercises and employee stock plan purchases | 1,423 | $ 1 | 1,422 | | |
Vesting of restricted stock awards and units (in shares) | | 108 | | | |
Vesting of restricted stock awards and units | 0 | $ 1 | (1) | | |
Shares withheld to cover taxes (in shares) | | (13) | | | |
Shares withheld to cover taxes | (824) | $ (1) | (823) | | |
Stock-based compensation | 7,412 | | 7,412 | | |
Ending balance (in shares) at Jun. 30, 2022 | | 68,726 | | | |
Ending balance at Jun. 30, 2022 | 567,332 | $ 687 | 699,526 | (135,205) | 2,324 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Net income (loss) | 61,232 | | | 61,232 | |
Other comprehensive income (loss) | 670 | | | | 670 |
Stock option exercises and employee stock plan purchases (in shares) | | 53 | | | |
Stock option exercises and employee stock plan purchases | 1,556 | $ 1 | 1,555 | | |
Vesting of restricted stock awards and units (in shares) | | 41 | | | |
Vesting of restricted stock awards and units | 0 | $ 1 | (1) | | |
Shares withheld to cover taxes (in shares) | | (11) | | | |
Shares withheld to cover taxes | (843) | $ (1) | (842) | | |
Stock-based compensation | $ 8,103 | | 8,103 | | |
Ending balance (in shares) at Sep. 30, 2022 | 68,809 | 68,809 | | | |
Ending balance at Sep. 30, 2022 | $ 638,050 | $ 688 | $ 708,341 | $ (73,973) | $ 2,994 |