Condensed Consolidated Statements of Changes in Stockholders' Equity - USD ($) shares in Thousands, $ in Thousands | Total | Common Stock | Treasury Stock | Additional Paid-In Capital | Retained Earnings (Accumulated Deficit) | Accumulated Other Comprehensive (Loss) Income |
Beginning balance (in shares) at Dec. 31, 2022 | | 68,851 | | | | |
Beginning balance at Dec. 31, 2022 | $ 447,147 | $ 689 | $ (75,000) | $ 715,875 | $ (193,158) | $ (1,259) |
Beginning balance, treasury stock (in shares) at Dec. 31, 2022 | | | 1,339 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Net income (loss) | (2,807) | | | | (2,807) | |
Other comprehensive (loss) income | (119) | | | | | (119) |
Stock option exercises and employee stock plan purchases (in shares) | | 120 | | | | |
Stock option exercises and employee stock plan purchases | 2,782 | $ 1 | | 2,781 | | |
Vesting of restricted stock awards and units (in shares) | | 813 | | | | |
Vesting of restricted stock awards and units | 0 | $ 8 | | (8) | | |
Shares withheld to cover taxes (in shares) | | (154) | | | | |
Shares withheld to cover taxes | (11,154) | $ (2) | | (11,152) | | |
Stock-based compensation | 9,667 | | | 9,667 | | |
Ending balance (in shares) at Mar. 31, 2023 | | 69,630 | | | | |
Ending balance at Mar. 31, 2023 | 445,516 | $ 696 | $ (75,000) | 717,163 | (195,965) | (1,378) |
Ending balance, treasury stock (in shares) at Mar. 31, 2023 | | | 1,339 | | | |
Beginning balance (in shares) at Dec. 31, 2022 | | 68,851 | | | | |
Beginning balance at Dec. 31, 2022 | 447,147 | $ 689 | $ (75,000) | 715,875 | (193,158) | (1,259) |
Beginning balance, treasury stock (in shares) at Dec. 31, 2022 | | | 1,339 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Net income (loss) | 223,281 | | | | | |
Ending balance (in shares) at Sep. 30, 2023 | | 69,808 | | | | |
Ending balance at Sep. 30, 2023 | 698,759 | $ 698 | $ (75,000) | 743,973 | 30,123 | (1,035) |
Ending balance, treasury stock (in shares) at Sep. 30, 2023 | | | 1,339 | | | |
Beginning balance (in shares) at Mar. 31, 2023 | | 69,630 | | | | |
Beginning balance at Mar. 31, 2023 | 445,516 | $ 696 | $ (75,000) | 717,163 | (195,965) | (1,378) |
Beginning balance, treasury stock (in shares) at Mar. 31, 2023 | | | 1,339 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Net income (loss) | 94,131 | | | | 94,131 | |
Other comprehensive (loss) income | 426 | | | | | 426 |
Stock option exercises and employee stock plan purchases (in shares) | | 73 | | | | |
Stock option exercises and employee stock plan purchases | 1,347 | $ 1 | | 1,346 | | |
Vesting of restricted stock awards and units (in shares) | | 68 | | | | |
Vesting of restricted stock awards and units | 0 | $ 1 | | (1) | | |
Shares withheld to cover taxes (in shares) | | (16) | | | | |
Shares withheld to cover taxes | (1,467) | | | (1,467) | | |
Stock-based compensation | 12,692 | | | 12,692 | | |
Ending balance (in shares) at Jun. 30, 2023 | | 69,755 | | | | |
Ending balance at Jun. 30, 2023 | 552,645 | $ 698 | $ (75,000) | 729,733 | (101,834) | (952) |
Ending balance, treasury stock (in shares) at Jun. 30, 2023 | | | 1,339 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Net income (loss) | 131,957 | | | | 131,957 | |
Other comprehensive (loss) income | (83) | | | | | (83) |
Stock option exercises and employee stock plan purchases (in shares) | | 25 | | | | |
Stock option exercises and employee stock plan purchases | 1,265 | | | 1,265 | | |
Vesting of restricted stock awards and units (in shares) | | 39 | | | | |
Vesting of restricted stock awards and units | (1) | | | (1) | | |
Shares withheld to cover taxes (in shares) | | (11) | | | | |
Shares withheld to cover taxes | (1,000) | | | (1,000) | | |
Stock-based compensation | 13,976 | | | 13,976 | | |
Ending balance (in shares) at Sep. 30, 2023 | | 69,808 | | | | |
Ending balance at Sep. 30, 2023 | $ 698,759 | $ 698 | $ (75,000) | 743,973 | 30,123 | (1,035) |
Ending balance, treasury stock (in shares) at Sep. 30, 2023 | | | 1,339 | | | |
Beginning balance (in shares) at Dec. 31, 2023 | 69,863 | 69,863 | | | | |
Beginning balance at Dec. 31, 2023 | $ 815,892 | $ 699 | $ (75,000) | 757,727 | 133,503 | (1,037) |
Beginning balance, treasury stock (in shares) at Dec. 31, 2023 | 1,339 | | 1,339 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Net income (loss) | $ 131,066 | | | | 131,066 | |
Other comprehensive (loss) income | (141) | | | | | (141) |
Stock option exercises and employee stock plan purchases (in shares) | | 86 | | | | |
Stock option exercises and employee stock plan purchases | 2,757 | $ 1 | | 2,756 | | |
Vesting of restricted stock awards and units (in shares) | | 988 | | | | |
Vesting of restricted stock awards and units | 0 | $ 9 | | (9) | | |
Shares withheld to cover taxes (in shares) | | (302) | | | | |
Shares withheld to cover taxes | (19,418) | $ (3) | | (19,415) | | |
Stock-based compensation | 15,384 | | | 15,384 | | |
Ending balance (in shares) at Mar. 31, 2024 | | 70,635 | | | | |
Ending balance at Mar. 31, 2024 | $ 945,540 | $ 706 | $ (75,000) | 756,443 | 264,569 | (1,178) |
Ending balance, treasury stock (in shares) at Mar. 31, 2024 | | | 1,339 | | | |
Beginning balance (in shares) at Dec. 31, 2023 | 69,863 | 69,863 | | | | |
Beginning balance at Dec. 31, 2023 | $ 815,892 | $ 699 | $ (75,000) | 757,727 | 133,503 | (1,037) |
Beginning balance, treasury stock (in shares) at Dec. 31, 2023 | 1,339 | | 1,339 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Net income (loss) | $ 324,232 | | | | | |
Ending balance (in shares) at Sep. 30, 2024 | 70,854 | 70,854 | | | | |
Ending balance at Sep. 30, 2024 | $ 1,179,708 | $ 709 | $ (75,000) | 797,430 | 457,735 | (1,166) |
Ending balance, treasury stock (in shares) at Sep. 30, 2024 | 1,339 | | 1,339 | | | |
Beginning balance (in shares) at Mar. 31, 2024 | | 70,635 | | | | |
Beginning balance at Mar. 31, 2024 | $ 945,540 | $ 706 | $ (75,000) | 756,443 | 264,569 | (1,178) |
Beginning balance, treasury stock (in shares) at Mar. 31, 2024 | | | 1,339 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Net income (loss) | 62,073 | | | | 62,073 | |
Other comprehensive (loss) income | (32) | | | | | (32) |
Stock option exercises and employee stock plan purchases (in shares) | | 68 | | | | |
Stock option exercises and employee stock plan purchases | 1,549 | $ 1 | | 1,548 | | |
Vesting of restricted stock awards and units (in shares) | | 58 | | | | |
Vesting of restricted stock awards and units | 0 | $ 1 | | (1) | | |
Shares withheld to cover taxes (in shares) | | (11) | | | | |
Shares withheld to cover taxes | (924) | | | (924) | | |
Stock-based compensation | 18,479 | | | 18,479 | | |
Ending balance (in shares) at Jun. 30, 2024 | | 70,750 | | | | |
Ending balance at Jun. 30, 2024 | 1,026,685 | $ 708 | $ (75,000) | 775,545 | 326,642 | (1,210) |
Ending balance, treasury stock (in shares) at Jun. 30, 2024 | | | 1,339 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Net income (loss) | 131,093 | | | | 131,093 | |
Other comprehensive (loss) income | 44 | | | | | 44 |
Stock option exercises and employee stock plan purchases (in shares) | | 76 | | | | |
Stock option exercises and employee stock plan purchases | 2,832 | $ 1 | | 2,831 | | |
Vesting of restricted stock awards and units (in shares) | | 40 | | | | |
Vesting of restricted stock awards and units | 0 | | | | | |
Shares withheld to cover taxes (in shares) | | (12) | | | | |
Shares withheld to cover taxes | (1,312) | | | (1,312) | | |
Stock-based compensation | $ 20,366 | | | 20,366 | | |
Ending balance (in shares) at Sep. 30, 2024 | 70,854 | 70,854 | | | | |
Ending balance at Sep. 30, 2024 | $ 1,179,708 | $ 709 | $ (75,000) | $ 797,430 | $ 457,735 | $ (1,166) |
Ending balance, treasury stock (in shares) at Sep. 30, 2024 | 1,339 | | 1,339 | | | |