| Other Expenses, Net (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
| Jun. 30, 2023 | Jun. 30, 2022 | Jun. 30, 2023 | Jun. 30, 2022 | |
| Other Income and Expenses [Abstract] | ||||
| (Gain) loss on derivatives | $ (424) | $ (1,067) | $ (261) | $ 555 | 
| Interest expense, net of interest income | 7,222 | 6,558 | 14,415 | 11,047 | 
| Amortization of debt discount and debt issuance costs | 1,575 | 1,184 | 2,365 | 2,036 | 
| Foreign currency transaction loss (gain) | 150 | 598 | (7) | 714 | 
| Government incentives | (577) | (2,024) | (523) | (2,022) | 
| Factoring fees | 1,252 | 0 | 1,252 | 0 | 
| Other expenses, net | $ 9,198 | $ 5,249 | $ 17,241 | $ 12,330 | 
| X | ||||||||||
| 
- Definition Government Incentives No definition available. 
 | 
| X | ||||||||||
| 
- Definition Servicing Asset, Factoring Fees No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of amortization expense attributable to debt discount (premium) and debt issuance costs. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 | 
| X | ||||||||||
| 
- Definition Amount of increase (decrease) in the fair value of derivatives recognized in the income statement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- Definition Amount, before tax, of realized and unrealized gain (loss) from foreign currency transaction. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition The net amount of nonoperating interest income (expense). No definition available. 
 | 
| X | ||||||||||
| 
- Definition The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 |