15. Accumulated Other Comprehensive Loss
The following table presents the changes in accumulated other comprehensive loss, net of tax, for the six months ended June 30, 2025 (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Foreign Currency Translation Adjustment | | Unrealized (Loss) Gain on Marketable Securities and Restricted Marketable Securities | | Unrealized (Loss) Gain on Derivative Instruments | | Total | Balance as of December 31, 2024 | | $ | (127,296) | | | $ | (56,483) | | | $ | (279) | | | $ | (184,058) | | Other comprehensive income before reclassifications | | 16,432 | | | 6,530 | | | — | | | 22,962 | | Amounts reclassified from accumulated other comprehensive loss | | 323 | | | — | | | 366 | | | 689 | | Net tax effect | | — | | | (422) | | | (87) | | | (509) | | Net other comprehensive income | | 16,755 | | | 6,108 | | | 279 | | | 23,142 | | Balance as of June 30, 2025 | | $ | (110,541) | | | $ | (50,375) | | | $ | — | | | $ | (160,916) | |
The following table presents the pretax amounts reclassified from accumulated other comprehensive loss into our condensed consolidated statements of operations for the three and six months ended June 30, 2025 and 2024 (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Comprehensive Income Components | | Income Statement Line Item | | Three Months Ended June 30, | | Six Months Ended June 30, | | | 2025 | | 2024 | | 2025 | | 2024 | | | | | | | | | | | | Foreign currency translation adjustment | | Other expense, net | | $ | — | | | $ | — | | | $ | (323) | | | $ | — | | Unrealized gain on marketable securities | | Other expense, net | | — | | | 11 | | | — | | | 11 | | Unrealized loss on derivative instruments: | | | | | | | | | | | Commodity swap contracts | | Cost of sales | | — | | | (346) | | | (366) | | | (1,495) | | Total loss reclassified | | | | $ | — | | | $ | (335) | | | $ | (689) | | | $ | (1,484) | |
|