| 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,038 | | | 1,786 | | | 3,824 | Amounts reclassified from accumulated other comprehensive income/(loss), net of tax | | | (493) | | | — | | | (493) | Other comprehensive income/(loss), net of tax | | | 1,545 | | | 1,786 | | | 3,331 | Accumulated other comprehensive income/(loss), net of tax, at December 31, 2024 | | $ | (317) | | $ | (6,544) | | $ | (6,861) |
| | | | | | | | | | (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 | | | 17,420 | | | 1,207 | | | 18,627 | Amounts reclassified from accumulated other comprehensive income/(loss), net of tax | | | (4,189) | | | — | | | (4,189) | Other comprehensive income/(loss), net of tax | | | 13,231 | | | 1,207 | | | 14,438 | Accumulated other comprehensive income/(loss), net of tax, at December 31, 2023 | | $ | (1,862) | | $ | (8,330) | | $ | (10,192) |
|
| Schedule of Computation of Basic and Diluted Earnings |
| | | | | | | | | | | | Year Ended | | | December 31, | (In thousands, except per share amounts) | | 2024 | | 2023 | | 2022 | Numerator: | | | | | | | | | | Net income/(loss) for basic | | $ | 102,984 | | $ | 122,873 | | $ | 190,169 | Adjusted net income (loss) for diluted | | | 102,984 | | | 122,873 | | | 190,169 | Denominator for basic and diluted net income per share: | | | | | | | | | | Weighted average shares outstanding for basic | | | 135,726 | | | 113,087 | | | 100,469 | Dilutive stock options, RSUs, and PRSUs | | | 2,137 | | | 1,543 | | | 2,174 | Weighted average shares outstanding for diluted | | | 137,863 | | | 114,630 | | | 102,643 | Earnings per share: | | | | | | | | | | Basic | | $ | 0.76 | | $ | 1.09 | | $ | 1.89 | Diluted | | $ | 0.75 | | $ | 1.07 | | $ | 1.85 | | | | | | | | | | | Anti-dilutive stock options and RSUs excluded from the calculation | | | 5,164 | | | 6,295 | | | 3,851 | Anti-dilutive warrants excluded from the calculation | | | 3,618 | | | 3,618 | | | — | Anti-dilutive Senior Convertible Notes due 2025 excluded from the calculation | | | 3,618 | | | 3,618 | | | — | Total | | $ | 12,400 | | $ | 13,531 | | $ | 3,851 |
|