Consolidated Statements of Comprehensive Income - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Net (loss) income $ (14,330) $ 45,728 $ 36,951
Changes in derivative instrument:      
Tax benefit 272 121 36
Net change in derivative instrument 969 786 (131)
Foreign currency translation adjustments (596) (6,659) 5,186
Other comprehensive income (loss), net of tax 373 (5,873) 5,055
Total comprehensive (loss) income (13,957) 39,855 42,006
Interest rate swap      
Changes in derivative instrument:      
Net change in fair value 666 1,099 (756)
Foreign exchange forward      
Changes in derivative instrument:      
Net change in fair value $ 31 $ (434) $ 589