| Consolidated Statements of Comprehensive Income (Loss) (Parenthetical) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
| Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | |
| Statement of Comprehensive Income [Abstract] | ||||
| Foreign currency translation adjustment, tax expense (benefit) | $ (61) | $ (607) | $ (59) | $ (231) | 
| X | ||||||||||
| 
- Definition Amount of tax expense (benefit), after reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 |