| Accumulated Other Comprehensive (Loss) Income |
10. Accumulated Other Comprehensive (Loss) Income Other comprehensive (loss) income consists of two components: unrealized gains or losses on the Company’s available-for-sale marketable investments, non-marketable investments, and gains or losses from foreign currency translation adjustments. Until realized and reported as a component of consolidated net (loss) income, these comprehensive (loss) income items accumulate and are included within accumulated other comprehensive (loss) income. Unrealized gains and losses on our marketable investments are reclassified from accumulated other comprehensive (loss) income into earnings when realized upon sale, and are determined based on specific identification of securities sold. Gains and losses from the translation of assets and liabilities denominated in non-U.S. dollar functional currencies are included in accumulated other comprehensive (loss) income. The following table summarizes the changes in the accumulated balances during the period, and includes information regarding the manner in which the reclassifications out of accumulated other comprehensive (loss) income into earnings affect our condensed consolidated statements of comprehensive income (loss) (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended June 30, 2024 | | Three Months Ended June 30, 2023 | | | Marketable Investments | | Non-Marketable Investments | | Currency Translation Adjustments | | Total | | Marketable Investments | | Non-Marketable Investments | | Currency Translation Adjustments | | Total | | Balance, beginning of the period | | $ | (392) | | | $ | — | | | $ | (4,446) | | | $ | (4,838) | | | $ | (2,640) | | | $ | — | | | $ | (4,221) | | | $ | (6,861) | | | Other comprehensive loss before reclassifications: | | | | | | | | | | | | | | | | | | Unrealized gains — investments | | 145 | | | 96 | | | — | | | 241 | | | 628 | | | — | | | — | | | 628 | | | | | | | | | | | | | | | | | | | | Foreign currency translation (losses) gains | | — | | | — | | | (451) | | | (451) | | | — | | | — | | | 654 | | | 654 | | | Income tax effect — expense | | — | | | — | | | — | | | — | | | — | | | — | | | — | | | — | | | Net of tax | | 145 | | | 96 | | | (451) | | | (210) | | | 628 | | | — | | | 654 | | | 1,282 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Net current-year other comprehensive (loss) income | | 145 | | | 96 | | | (451) | | | (210) | | | 628 | | | — | | | 654 | | | 1,282 | | | Balance, end of the period | | $ | (247) | | | $ | 96 | | | $ | (4,897) | | | $ | (5,048) | | | $ | (2,012) | | | $ | — | | | $ | (3,567) | | | $ | (5,579) | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Six Months Ended June 30, 2024 | | Six Months Ended June 30, 2023 | | | Marketable Investments | | Non-Marketable Investments | | Currency Translation Adjustments | | Total | | Marketable Investments | | Non-Marketable Investments | | Currency Translation Adjustments | | Total | | Balance, beginning of the period | | $ | (558) | | | $ | — | | | $ | (2,593) | | | $ | (3,151) | | | $ | (3,500) | | | $ | — | | | $ | (4,624) | | | $ | (8,124) | | | Other comprehensive loss before reclassifications: | | | | | | | | | | | | | | | | | | Unrealized (loss) gain — investments | | 311 | | | 96 | | | — | | | 407 | | | 1,488 | | | — | | | — | | | 1,488 | | | Foreign currency translation (losses) gains | | — | | | — | | | (2,308) | | | (2,308) | | | — | | | — | | | 1,057 | | | 1,057 | | | Income tax effect — expense | | — | | | — | | | 4 | | | 4 | | | — | | | — | | | — | | | — | | | Net of tax | | 311 | | | 96 | | | (2,304) | | | (1,897) | | | 1,488 | | | — | | | 1,057 | | | 2,545 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Net current-year other comprehensive (loss) income | | 311 | | | 96 | | | (2,304) | | | (1,897) | | | 1,488 | | | — | | | 1,057 | | | 2,545 | | | Balance, end of the period | | $ | (247) | | | $ | 96 | | | $ | (4,897) | | | $ | (5,048) | | | $ | (2,012) | | | $ | — | | | $ | (3,567) | | | $ | (5,579) | |
|