| 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 | | | 1,133 | | | (2,530) | | | (1,397) | Amounts reclassified from accumulated other comprehensive income/(loss), net of tax | | | (262) | | | — | | | (262) | Other comprehensive income/(loss), net of tax | | | 871 | | | (2,530) | | | (1,659) | Accumulated other comprehensive income/(loss), net of tax, at June 30, 2024 | | $ | (991) | | $ | (10,860) | | $ | (11,851) |
| | | | | | | | | | (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 | | | 5,657 | | | 1,225 | | | 6,882 | Amounts reclassified from accumulated other comprehensive income/(loss), net of tax | | | (1,319) | | | — | | | (1,319) | Other comprehensive income/(loss), net of tax | | | 4,338 | | | 1,225 | | | 5,563 | Accumulated other comprehensive income/(loss), net of tax, at June 30, 2023 | | $ | (10,755) | | $ | (8,312) | | $ | (19,067) |
|
| Schedule of Computation of Basic and Diluted Earnings |
| | | | | | | | | | | | | Three Months Ended | | Six Months Ended | | June 30, | | June 30, | (In thousands, except per share amounts) | 2024 | | 2023 | | 2024 | | 2023 | Numerator: | | | | | | | | | | | | Net income/(loss) for basic | $ | 31,760 | | $ | 57,712 | | $ | 24,643 | | $ | 106,841 | Dilutive potential net income /(loss) | | — | | | — | | | — | | | — | Adjusted net income (loss) for diluted | $ | 31,760 | | $ | 57,712 | | | 24,643 | | | 106,841 | Denominator for basic and diluted net income per share: | | | | | | | | | | | | Weighted average shares outstanding for basic | | 135,195 | | | 100,373 | | | 135,276 | | | 100,326 | Dilutive stock options, RSUs, and PRSUs | | 1,784 | | | 1,409 | | | 1,559 | | | 1,663 | Weighted average shares outstanding for diluted | | 136,979 | | | 101,782 | | | 136,836 | | | 101,989 | Earnings per share: | | | | | | | | | | | | Basic | $ | 0.23 | | $ | 0.57 | | $ | 0.18 | | $ | 1.06 | Diluted | $ | 0.23 | | $ | 0.57 | | $ | 0.18 | | $ | 1.05 | | | | | | | | | | | | | Anti-dilutive stock options and RSUs excluded from the calculation | | 7,809 | | | 5,768 | | | 7,635 | | | 5,576 | Anti-dilutive warrants excluded from the calculation | | 3,618 | | | — | | | 7,236 | | | — | Anti-dilutive Senior Convertible Notes due 2025 excluded from the calculation | | 3,618 | | | — | | | 7,236 | | | — | Total | $ | 15,045 | | $ | 5,768 | | $ | 22,107 | | $ | 5,576 |
|