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/(Accumulated Deficit) |
Beginning balance (in shares) at Dec. 31, 2020 | | 18,729 | 15,659 | | | | |
Beginning balance at Dec. 31, 2020 | $ 285,920 | $ 2 | $ 2 | $ 161,247 | $ 56 | $ (25,756) | $ 150,369 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | 23 | | | | | |
Exercise of stock options | 100 | | | 100 | | | |
Stock-based compensation | 3,295 | | | 3,295 | | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 42 | | | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (3,992) | | | (3,992) | | | |
Conversion of Class B common stock to Class A common stock (in shares) | | 108 | (108) | | | | |
Other comprehensive loss | (18) | | | | (18) | | |
Net (loss) income | 479 | | | | | | 479 |
Ending balance (in shares) at Mar. 31, 2021 | | 18,902 | 15,551 | | | | |
Ending balance at Mar. 31, 2021 | 285,784 | $ 2 | $ 2 | 160,650 | 38 | (25,756) | 150,848 |
Beginning balance (in shares) at Dec. 31, 2020 | | 18,729 | 15,659 | | | | |
Beginning balance at Dec. 31, 2020 | 285,920 | $ 2 | $ 2 | 161,247 | 56 | (25,756) | 150,369 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Net (loss) income | 2,359 | | | | | | |
Ending balance (in shares) at Sep. 30, 2021 | | 19,191 | 15,453 | | | | |
Ending balance at Sep. 30, 2021 | 291,699 | $ 2 | $ 2 | 164,740 | (17) | (25,756) | 152,728 |
Beginning balance (in shares) at Mar. 31, 2021 | | 18,902 | 15,551 | | | | |
Beginning balance at Mar. 31, 2021 | 285,784 | $ 2 | $ 2 | 160,650 | 38 | (25,756) | 150,848 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | 13 | 84 | | | | |
Exercise of stock options | 545 | | | 545 | | | |
Stock-based compensation | 3,873 | | | 3,873 | | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 56 | | | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (4,908) | | | (4,908) | | | |
Conversion of Class B common stock to Class A common stock (in shares) | | 14 | (14) | | | | |
Issuance of restricted stock awards (in shares) | | 4 | | | | | |
Other comprehensive loss | (48) | | | | (48) | | |
Net (loss) income | 2,021 | | | | | | 2,021 |
Ending balance (in shares) at Jun. 30, 2021 | | 18,989 | 15,621 | | | | |
Ending balance at Jun. 30, 2021 | 287,267 | $ 2 | $ 2 | 160,160 | (10) | (25,756) | 152,869 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | 29 | | | | | |
Exercise of stock options | 146 | | | 146 | | | |
Stock-based compensation | 4,837 | | | 4,837 | | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 5 | | | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (403) | | | (403) | | | |
Conversion of Class B common stock to Class A common stock (in shares) | | 168 | (168) | | | | |
Other comprehensive loss | (7) | | | | (7) | | |
Net (loss) income | (141) | | | | | | (141) |
Ending balance (in shares) at Sep. 30, 2021 | | 19,191 | 15,453 | | | | |
Ending balance at Sep. 30, 2021 | 291,699 | $ 2 | $ 2 | 164,740 | (17) | (25,756) | 152,728 |
Beginning balance (in shares) at Dec. 31, 2021 | | 19,417 | 15,408 | | | | |
Beginning balance at Dec. 31, 2021 | 297,381 | $ 2 | $ 2 | 171,930 | (194) | (25,756) | 151,397 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | 17 | | | | | |
Exercise of stock options | 100 | | | 100 | | | |
Stock-based compensation | 7,967 | | | 7,967 | | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 17 | | | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (1,073) | | | (1,073) | | | |
Conversion of Class B common stock to Class A common stock (in shares) | | 572 | (572) | | | | |
Other comprehensive loss | (1,345) | | | | (1,345) | | |
Net (loss) income | (14,287) | | | | | | (14,287) |
Ending balance (in shares) at Mar. 31, 2022 | | 20,023 | 14,836 | | | | |
Ending balance at Mar. 31, 2022 | 288,743 | $ 2 | $ 2 | 178,924 | (1,539) | (25,756) | 137,110 |
Beginning balance (in shares) at Dec. 31, 2021 | | 19,417 | 15,408 | | | | |
Beginning balance at Dec. 31, 2021 | $ 297,381 | $ 2 | $ 2 | 171,930 | (194) | (25,756) | 151,397 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | 187 | | | | | | |
Net (loss) income | $ (48,419) | | | | | | |
Ending balance (in shares) at Sep. 30, 2022 | | 20,387 | 14,746 | | | | |
Ending balance at Sep. 30, 2022 | 271,872 | $ 2 | $ 2 | 197,199 | (2,553) | (25,756) | 102,978 |
Beginning balance (in shares) at Mar. 31, 2022 | | 20,023 | 14,836 | | | | |
Beginning balance at Mar. 31, 2022 | 288,743 | $ 2 | $ 2 | 178,924 | (1,539) | (25,756) | 137,110 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | 41 | 27 | | | | |
Exercise of stock options | 503 | | | 503 | | | |
Stock-based compensation | 10,639 | | | 10,639 | | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 66 | | | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (4,524) | | | (4,524) | | | |
Conversion of Class B common stock to Class A common stock (in shares) | | 37 | (37) | | | | |
Issuance of restricted stock awards (in shares) | | 6 | | | | | |
Other comprehensive loss | (400) | | | | (400) | | |
Net (loss) income | (29,970) | | | | | | (29,970) |
Ending balance (in shares) at Jun. 30, 2022 | | 20,173 | 14,826 | | | | |
Ending balance at Jun. 30, 2022 | 264,991 | $ 2 | $ 2 | 185,542 | (1,939) | (25,756) | 107,140 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | 102 | | | | | |
Exercise of stock options | 1,976 | | | 1,976 | | | |
Stock-based compensation | 11,665 | | | 11,665 | | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 32 | | | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (1,984) | | | (1,984) | | | |
Conversion of Class B common stock to Class A common stock (in shares) | | 80 | (80) | | | | |
Other comprehensive loss | (614) | | | | (614) | | |
Net (loss) income | (4,162) | | | | | | (4,162) |
Ending balance (in shares) at Sep. 30, 2022 | | 20,387 | 14,746 | | | | |
Ending balance at Sep. 30, 2022 | $ 271,872 | $ 2 | $ 2 | $ 197,199 | $ (2,553) | $ (25,756) | $ 102,978 |