Derivative Instruments - Summary of the Gains and Losses Related to Interest Rate and Foreign Currency Instruments in the Consolidated Statement of Operations (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Mar. 31, 2023 |
Mar. 31, 2022 |
|
| Derivative [Line Items] | ||
| (Gain ) Loss on derivative contracts designated as cash flow hedges | $ (4,532) | $ 1,062 |
| Interest rate swap contracts | Interest expense, net | ||
| Derivative [Line Items] | ||
| (Gain ) Loss on derivative contracts designated as cash flow hedges | (4,672) | 1,062 |
| Foreign currency contracts | Cost of goods sold | ||
| Derivative [Line Items] | ||
| (Gain ) Loss on derivative contracts designated as cash flow hedges | $ 140 | $ 0 |