| Accumulated Other Comprehensive Income (Loss) |
| | | | | | | | | | (In thousands) | | Unrealized loss on marketable securities, net of tax | | Foreign currency translation adjustments | | Accumulated other comprehensive loss | Accumulated other comprehensive income/(loss), net of tax, at December 31, 2023 | | $ | (1,862) | | $ | (8,330) | | $ | (10,192) | Other comprehensive income/(loss) before reclassifications | | | 2,045 | | | 1,446 | | | 3,491 | Amounts reclassified from accumulated other comprehensive income/(loss), net of tax | | | (262) | | | — | | | (262) | Other comprehensive income/(loss), net of tax | | | 1,783 | | | 1,446 | | | 3,229 | Accumulated other comprehensive income/(loss), net of tax, at September 30, 2024 | | $ | (79) | | $ | (6,884) | | $ | (6,963) |
| | | | | | | | | | (In thousands) | | Unrealized loss on marketable securities, net of tax | | Foreign currency translation adjustments | | Accumulated other comprehensive loss | Accumulated other comprehensive income/(loss), net of tax, at December 31, 2022 | | $ | (15,093) | | $ | (9,537) | | $ | (24,630) | Other comprehensive income/(loss) before reclassifications | | | 9,149 | | | (1,085) | | | 8,064 | Amounts reclassified from accumulated other comprehensive income/(loss), net of tax | | | (2,170) | | | — | | | (2,170) | Other comprehensive income/(loss), net of tax | | | 6,979 | | | (1,085) | | | 5,894 | Accumulated other comprehensive income/(loss), net of tax, at September 30, 2023 | | $ | (8,114) | | $ | (10,622) | | $ | (18,736) |
|
| Schedule of Computation of Basic and Diluted Earnings |
| | | | | | | | | | | | | Three Months Ended | | Nine Months Ended | | September 30, | | September 30, | (In thousands, except per share amounts) | 2024 | | 2023 | | 2024 | | 2023 | Numerator: | | | | | | | | | | | | Net income/(loss) for basic | $ | 51,836 | | $ | 998 | | $ | 76,479 | | $ | 107,839 | Interest and amortization of debt discount costs on the 0.375% Senior Convertible Notes due 2025, net of tax | | — | | | — | | | — | | | 364 | Adjusted net income (loss) for diluted | $ | 51,836 | | $ | 998 | | | 76,479 | | | 108,203 | Denominator for basic and diluted net income per share: | | | | | | | | | | | | Weighted average shares outstanding for basic | | 135,615 | | | 113,537 | | | 135,390 | | | 104,762 | Dilutive stock options, RSUs, and PRSUs | | 2,447 | | | 1,708 | | | 1,855 | | | 1,678 | Senior Convertible Notes due 2025 | | — | | | — | | | — | | | 3,618 | Weighted average shares outstanding for diluted | | 138,062 | | | 115,245 | | | 137,245 | | | 110,058 | Earnings per share: | | | | | | | | | | | | Basic | $ | 0.38 | | $ | 0.01 | | $ | 0.56 | | $ | 1.03 | Diluted | $ | 0.38 | | $ | 0.01 | | $ | 0.56 | | $ | 0.98 | | | | | | | | | | | | | Anti-dilutive stock options and RSUs excluded from the calculation | | 3,672 | | | 5,942 | | | 6,314 | | | 5,698 | Anti-dilutive warrants excluded from the calculation | | 3,618 | | | 3,618 | | | 3,618 | | | 3,618 | Anti-dilutive Senior Convertible Notes due 2025 excluded from the calculation | | 3,618 | | | 3,618 | | | 3,618 | | | — | Total | $ | 10,908 | | $ | 13,178 | | $ | 13,550 | | $ | 9,316 |
|