CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY - USD ($) shares in Thousands, $ in Thousands | Total | Common Stock Class A common stock | Common Stock Class B common stock | Additional Paid-in Capital | Accumulated Other Comprehensive Income (Loss) | Treasury Stock | Retained Earnings |
Beginning balance (in shares) at Dec. 31, 2022 | | 20,569 | 14,746 | | | | |
Beginning balance at Dec. 31, 2022 | $ 265,546 | $ 2 | $ 2 | $ 209,704 | $ (1,684) | $ (25,756) | $ 83,278 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | 64 | | | | | |
Exercise of stock options | 834 | | | 834 | | | |
Stock-based compensation | 14,075 | | | 14,075 | | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 79 | | | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (5,539) | | | (5,539) | | | |
Conversion of Class B common stock to Class A common stock (in shares) | | 27 | (27) | | | | |
Issuance of restricted stock awards (in shares) | | 2 | | | | | |
Other comprehensive income (loss) | 763 | | | | 763 | | |
Net Income (loss) | (35,110) | | | | | | (35,110) |
Ending balance (in shares) at Mar. 31, 2023 | | 20,741 | 14,719 | | | | |
Ending balance at Mar. 31, 2023 | 240,569 | $ 2 | $ 2 | 219,074 | (921) | (25,756) | 48,168 |
Beginning balance (in shares) at Dec. 31, 2022 | | 20,569 | 14,746 | | | | |
Beginning balance at Dec. 31, 2022 | 265,546 | $ 2 | $ 2 | 209,704 | (1,684) | (25,756) | 83,278 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Other comprehensive income (loss) | 1,097 | | | | | | |
Net Income (loss) | (54,011) | | | | | | |
Ending balance (in shares) at Jun. 30, 2023 | | 20,922 | 14,719 | | | | |
Ending balance at Jun. 30, 2023 | 225,953 | $ 2 | $ 2 | 223,025 | (587) | (25,756) | 29,267 |
Beginning balance (in shares) at Mar. 31, 2023 | | 20,741 | 14,719 | | | | |
Beginning balance at Mar. 31, 2023 | 240,569 | $ 2 | $ 2 | 219,074 | (921) | (25,756) | 48,168 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | 95 | | | | | |
Exercise of stock options | 668 | | | 668 | | | |
Stock-based compensation | 11,000 | | | 11,000 | | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 82 | | | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (7,717) | | | (7,717) | | | |
Issuance of restricted stock awards (in shares) | | 4 | | | | | |
Other comprehensive income (loss) | 334 | | | | 334 | | |
Net Income (loss) | (18,901) | | | | | | (18,901) |
Ending balance (in shares) at Jun. 30, 2023 | | 20,922 | 14,719 | | | | |
Ending balance at Jun. 30, 2023 | 225,953 | $ 2 | $ 2 | 223,025 | (587) | (25,756) | 29,267 |
Beginning balance (in shares) at Dec. 31, 2023 | | 21,749 | 14,116 | | | | |
Beginning balance at Dec. 31, 2023 | 297,312 | $ 2 | $ 2 | 236,985 | 99 | (25,756) | 85,980 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | 244 | | | | | |
Exercise of stock options | 3,874 | | | 3,874 | | | |
Stock-based compensation | 13,646 | | | 13,646 | | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 89 | | | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (14,086) | | | (14,086) | | | |
Conversion of Class B common stock to Class A common stock (in shares) | | 199 | (199) | | | | |
Other comprehensive income (loss) | (214) | | | | (214) | | |
Net Income (loss) | 38,663 | | | | | | 38,663 |
Ending balance (in shares) at Mar. 31, 2024 | | 22,281 | 13,917 | | | | |
Ending balance at Mar. 31, 2024 | 339,195 | $ 2 | $ 2 | 240,419 | (115) | (25,756) | 124,643 |
Beginning balance (in shares) at Dec. 31, 2023 | | 21,749 | 14,116 | | | | |
Beginning balance at Dec. 31, 2023 | $ 297,312 | $ 2 | $ 2 | 236,985 | 99 | (25,756) | 85,980 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | 247 | | | | | | |
Other comprehensive income (loss) | $ (283) | | | | | | |
Net Income (loss) | 68,328 | | | | | | |
Ending balance (in shares) at Jun. 30, 2024 | | 22,999 | 13,273 | | | | |
Ending balance at Jun. 30, 2024 | 371,412 | $ 2 | $ 2 | 243,040 | (184) | (25,756) | 154,308 |
Beginning balance (in shares) at Mar. 31, 2024 | | 22,281 | 13,917 | | | | |
Beginning balance at Mar. 31, 2024 | 339,195 | $ 2 | $ 2 | 240,419 | (115) | (25,756) | 124,643 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | 3 | | | | | |
Exercise of stock options | 25 | | | 25 | | | |
Stock-based compensation | 15,032 | | | 15,032 | | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 71 | | | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (12,436) | | | (12,436) | | | |
Conversion of Class B common stock to Class A common stock (in shares) | | 644 | (644) | | | | |
Other comprehensive income (loss) | (69) | | | | (69) | | |
Net Income (loss) | 29,665 | | | | | | 29,665 |
Ending balance (in shares) at Jun. 30, 2024 | | 22,999 | 13,273 | | | | |
Ending balance at Jun. 30, 2024 | $ 371,412 | $ 2 | $ 2 | $ 243,040 | $ (184) | $ (25,756) | $ 154,308 |