Derivatives and Hedge Accounting - Summary of Effect of Foreign Currency Exchange Contracts (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2024 |
Jun. 30, 2023 |
Jun. 30, 2024 |
Jun. 30, 2023 |
|
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Unrealized gain/(loss) recognized in OCI | $ (2,778) | $ 8,851 | $ (2,840) | $ 16,145 |
| Gain/(loss) recognized in unaudited consolidated statements of income | 36 | 324 | 395 | 429 |
| Cash flow hedge | Derivatives in cash flow hedging relationships | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Unrealized gain/(loss) recognized in OCI | (2,778) | 8,851 | (2,840) | 16,145 |
| Fair value hedge | Gain/ (loss) on foreign currency exchange contracts | Derivatives not designated as hedging instruments | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Gain/(loss) recognized in unaudited consolidated statements of income | $ (2,113) | $ (370) | $ (2,073) | $ 2,158 |