Consolidated Statements of Changes in Stockholders' Equity (Unaudited) - USD ($) $ in Thousands | Total | Cumulative Effect, Period of Adoption, Adjustment [Member] | Common Stock [Member] Class A Common Stock [Member] | Common Stock [Member] Class B Common Stock [Member] | Additional Paid-In Capital [Member] | Additional Paid-In Capital [Member] Cumulative Effect, Period of Adoption, Adjustment [Member] | Accumulated Deficit [Member] | Accumulated Deficit [Member] Cumulative Effect, Period of Adoption, Adjustment [Member] | Accumulated Other Comprehensive Loss [Member] |
Beginning balance at Dec. 31, 2021 | $ 613,197 | | $ 5 | $ 3 | $ 724,226 | | $ (102,087) | | $ (8,950) |
Beginning balance (in shares) at Dec. 31, 2021 | | | 51,524,000 | 27,745,000 | | | | | |
Net Income (Loss) | 11,528 | | | | | | 11,528 | | |
Issuance of common stock for employee stock purchase program | 4,187 | | | | 4,187 | | | | |
Issuance of common stock for employee stock purchase program (in shares) | | | 77,000 | | | | | | |
Exercise of stock options | 238 | | | | 238 | | | | |
Exercise of stock options (in shares) | | | 86,000 | | | | | | |
Vesting of restricted stock (in shares) | | | 324,000 | | | | | | |
Stock-based compensation | 19,403 | | | | 19,403 | | | | |
Foreign currency translation, net of tax | (4,163) | | | | | | | | (4,163) |
Retirement related benefit plans, net of tax | 105 | | | | | | | | 105 |
Ending balance at Mar. 31, 2022 | 618,425 | $ (26,070) | $ 5 | $ 3 | 698,045 | $ (50,009) | (66,620) | $ 23,939 | (13,008) |
Ending balance (in shares) at Mar. 31, 2022 | | | 52,011,000 | 27,745,000 | | | | | |
Beginning balance at Dec. 31, 2021 | 613,197 | | $ 5 | $ 3 | 724,226 | | (102,087) | | (8,950) |
Beginning balance (in shares) at Dec. 31, 2021 | | | 51,524,000 | 27,745,000 | | | | | |
Net Income (Loss) | (22,246) | | | | | | | | |
Foreign currency translation, net of tax | (20,112) | | | | | | | | |
Retirement related benefit plans, net of tax | 282 | | | | | | | | |
Ending balance at Jun. 30, 2022 | 558,172 | | $ 5 | $ 3 | 687,338 | | (100,394) | | (28,780) |
Ending balance (in shares) at Jun. 30, 2022 | | | 52,191,000 | 27,745,000 | | | | | |
Beginning balance at Mar. 31, 2022 | 618,425 | $ (26,070) | $ 5 | $ 3 | 698,045 | $ (50,009) | (66,620) | $ 23,939 | (13,008) |
Beginning balance (in shares) at Mar. 31, 2022 | | | 52,011,000 | 27,745,000 | | | | | |
Net Income (Loss) | (33,774) | | | | | | (33,774) | | |
Settlement of convertible senior notes | (29,756) | | | | (29,756) | | | | |
Repurchase and retirement of common stock | (4,387) | | | | (4,387) | | | | |
Repurchase and retirement of common stock, Shares | | | (85,000) | | | | | | |
Reclassification of mezzanine equity to permanent equity | 784 | | | | 784 | | | | |
Exercise of stock options | 1,452 | | | | 1,452 | | | | |
Exercise of stock options (in shares) | | | 222,000 | | | | | | |
Vesting of restricted stock (in shares) | | | 43,000 | | | | | | |
Stock-based compensation | 21,200 | | | | 21,200 | | | | |
Foreign currency translation, net of tax | (15,949) | | | | | | | | (15,949) |
Retirement related benefit plans, net of tax | 177 | | | | | | | | 177 |
Ending balance at Jun. 30, 2022 | 558,172 | | $ 5 | $ 3 | 687,338 | | (100,394) | | (28,780) |
Ending balance (in shares) at Jun. 30, 2022 | | | 52,191,000 | 27,745,000 | | | | | |
Beginning balance at Dec. 31, 2022 | 569,736 | | $ 5 | $ 3 | 721,307 | | (121,577) | | (30,002) |
Beginning balance (in shares) at Dec. 31, 2022 | | | 52,277,000 | 27,745,000 | | | | | |
Net Income (Loss) | (1,959) | | | | | | (1,959) | | |
Issuance of common stock for acquisitions (in shares) | | | 34,000 | | | | | | |
Repurchase and retirement of common stock | (4,256) | | | | (4,256) | | | | |
Repurchase and retirement of common stock, Shares | | | (91,000) | | | | | | |
Issuance of common stock for employee stock purchase program | 3,648 | | | | 3,648 | | | | |
Issuance of common stock for employee stock purchase program (in shares) | | | 92,000 | | | | | | |
Exercise of stock options | 10,324 | | | | 10,324 | | | | |
Exercise of stock options (in shares) | | | 265,000 | | | | | | |
Vesting of restricted stock (in shares) | | | 336,000 | | | | | | |
Conversion from Class B to Class A common stock | | | 240,000 | (240,000) | | | | | |
Stock-based compensation | 22,161 | | | | 22,161 | | | | |
Foreign currency translation, net of tax | 7,232 | | | | | | | | 7,232 |
Retirement related benefit plans, net of tax | 19 | | | | | | | | 19 |
Ending balance at Mar. 31, 2023 | 606,905 | | $ 5 | $ 3 | 753,184 | | (123,536) | | (22,751) |
Ending balance (in shares) at Mar. 31, 2023 | | | 53,153,000 | 27,505,000 | | | | | |
Beginning balance at Dec. 31, 2022 | 569,736 | | $ 5 | $ 3 | 721,307 | | (121,577) | | (30,002) |
Beginning balance (in shares) at Dec. 31, 2022 | | | 52,277,000 | 27,745,000 | | | | | |
Net Income (Loss) | (24,239) | | | | | | | | |
Foreign currency translation, net of tax | 5,892 | | | | | | | | |
Retirement related benefit plans, net of tax | (51) | | | | | | | | |
Ending balance at Jun. 30, 2023 | 620,215 | | $ 5 | $ 3 | 790,184 | | (145,816) | | (24,161) |
Ending balance (in shares) at Jun. 30, 2023 | | | 53,951,000 | 27,175,000 | | | | | |
Beginning balance at Mar. 31, 2023 | 606,905 | | $ 5 | $ 3 | 753,184 | | (123,536) | | (22,751) |
Beginning balance (in shares) at Mar. 31, 2023 | | | 53,153,000 | 27,505,000 | | | | | |
Net Income (Loss) | (22,280) | | | | | | (22,280) | | |
Exercise of stock options | 13,264 | | | | 13,264 | | | | |
Exercise of stock options (in shares) | | | 382,000 | | | | | | |
Vesting of restricted stock (in shares) | | | 86,000 | | | | | | |
Conversion from Class B to Class A common stock | | | 330,000 | (330,000) | | | | | |
Stock-based compensation | 23,736 | | | | 23,736 | | | | |
Foreign currency translation, net of tax | (1,340) | | | | | | | | (1,340) |
Retirement related benefit plans, net of tax | (70) | | | | | | | | (70) |
Ending balance at Jun. 30, 2023 | $ 620,215 | | $ 5 | $ 3 | $ 790,184 | | $ (145,816) | | $ (24,161) |
Ending balance (in shares) at Jun. 30, 2023 | | | 53,951,000 | 27,175,000 | | | | | |