Biggest changeOur effective tax rates could be affected by numerous factors, such as changes in our business operations, acquisitions, investments, entry into new businesses and geographies, intercompany transactions, the relative amount of our foreign earnings, including earnings being lower than anticipated in jurisdictions where we have lower statutory rates and higher than anticipated in jurisdictions where we have higher statutory rates, losses incurred in jurisdictions for which we are not able to realize related income tax benefits, the applicability of special tax regimes, changes in foreign currency exchange rates, changes in our stock price, changes in our deferred tax assets ("DTAs") and liabilities and their valuation, changes in the laws, regulations, administrative practices, principles, and interpretations related to tax, including changes to the global tax framework, competition, and other laws and accounting rules in various jurisdictions. 45 Table of Contents Results of Operations The following table sets forth our consolidated results of operations: Year Ended Change % December 31, 2023 December 31, 2022 December 31, 2021 2023 vs 2022 2022 vs 2021 (in thousands) Revenue $ 619,710 $ 577,069 $ 468,413 7 % 23 % Expenses (1)(2) : Cost of revenue 409,906 307,165 201,662 33 % 52 % Sales and marketing 173,982 200,081 170,406 (13) % 17 % Technology and development 94,318 93,757 74,449 1 % 26 % General and administrative 89,048 81,382 64,789 9 % 26 % Merger, acquisition, and restructuring costs 7,465 7,468 38,177 — % (80) % Total expenses 774,719 689,853 549,483 12 % 26 % Loss from operations (155,009) (112,784) (81,070) 37 % 39 % Other expense, net 2,538 22,813 13,918 (89) % 64 % Loss before income taxes (157,547) (135,597) (94,988) 16 % 43 % Provision (benefit) for income taxes 1,637 (5,274) (95,053) (131) % (94) % Net income (loss) $ (159,184) $ (130,323) $ 65 22 % NM NM means Not Meaningful (1) Stock-based compensation expense included in our expenses was as follows: Year Ended December 31, 2023 December 31, 2022 December 31, 2021 (in thousands) Cost of revenue $ 1,809 $ 1,666 $ 792 Sales and marketing 27,263 21,558 15,718 Technology and development 20,542 19,961 11,857 General and administrative 22,860 18,929 11,297 Merger, acquisition, and restructuring costs 143 2,004 1,071 Total stock-based compensation expense $ 72,617 $ 64,118 $ 40,735 (2) Depreciation and amortization expense included in our expenses was as follows: Year Ended December 31, 2023 December 31, 2022 December 31, 2021 (in thousands) Cost of revenue $ 211,956 $ 142,616 $ 78,115 Sales and marketing 27,584 71,887 67,463 Technology and development 779 913 674 General and administrative 501 636 634 Total depreciation and amortization expense $ 240,820 $ 216,052 $ 146,886 46 Table of Contents The following table sets forth our consolidated results of operations for the specified periods as a percentage of our revenue for those periods presented: Year Ended December 31, 2023 December 31, 2022 December 31, 2021 Revenue 100 % 100 % 100 % Cost of revenue 66 53 43 Sales and marketing 28 35 36 Technology and development 15 16 16 General and administrative 14 14 14 Merger, acquisition, and restructuring costs 1 1 8 Total expenses 125 120 117 Loss from operations (25) (20) (17) Other expense, net — 4 3 Loss before income taxes (25) (23) (20) Provision (benefit) for income taxes — (1) (20) Net income (loss) (26) % (23) % — % Note: Percentages may not sum due to rounding Comparison of the Years Ended December 31, 2023, 2022, and 2021 Revenue Revenue increased $42.6 million, or 7%, for the year ended December 31, 2023 compared to the prior year.
Biggest changeOur effective tax rates could be affected by numerous factors, such as changes in our business operations, acquisitions, investments, entry into new businesses and geographies, intercompany transactions, the relative amount of our foreign earnings, including earnings being lower than anticipated in jurisdictions where we have lower statutory rates and higher than anticipated in jurisdictions where we have higher statutory rates, losses incurred in jurisdictions for which we are not able to realize related income tax benefits, the applicability of special tax regimes, changes in foreign currency exchange rates, changes in our stock price, changes in our deferred tax assets ("DTAs") and liabilities and their valuation, changes in the laws, regulations, administrative practices, principles, and interpretations related to tax, including changes to the global tax framework, competition, and other laws and accounting rules in various jurisdictions. 46 Table of Contents Results of Operations The following table sets forth our consolidated results of operations: Year Ended Change % December 31, 2024 December 31, 2023 December 31, 2022 2024 vs 2023 2023 vs 2022 (in thousands) Revenue $ 668,170 $ 619,710 $ 577,069 8 % 7 % Expenses: Cost of revenue 258,838 409,906 307,165 (37) % 33 % Sales and marketing 166,142 173,982 200,081 (5) % (13) % Technology and development 95,243 94,318 93,757 1 % 1 % General and administrative 96,860 89,048 81,382 9 % 9 % Merger, acquisition, and restructuring costs — 7,465 7,468 (100) % — % Total expenses 617,083 774,719 689,853 (20) % 12 % Income (loss) from operations 51,087 (155,009) (112,784) NM 37 % Other expense, net 24,603 2,538 22,813 869 % (89) % Income (loss) before income taxes 26,484 (157,547) (135,597) NM 16 % Provision (benefit) for income taxes 3,698 1,637 (5,274) 126 % NM Net income (loss) $ 22,786 $ (159,184) $ (130,323) NM 22 % NM - Not meaningful The following table sets forth our consolidated results of operations for the specified periods as a percentage of our revenue for those periods presented: Year Ended December 31, 2024 December 31, 2023 December 31, 2022 Revenue 100 % 100 % 100 % Cost of revenue 39 66 53 Sales and marketing 25 28 35 Technology and development 14 15 16 General and administrative 14 14 14 Merger, acquisition, and restructuring costs — 1 1 Total expenses 92 125 120 Income (loss) from operations 8 (25) (20) Other expense, net 4 — 4 Income (loss) before income taxes 4 (25) (23) Provision (benefit) for income taxes 1 — (1) Net income (loss) 3 % (26) % (23) % Note: Percentages may not sum due to rounding Comparison of the Years Ended December 31, 2024, 2023, and 2022 Revenue Revenue increased $48.5 million, or 8%, for the year ended December 31, 2024 compared to the prior year.
Other income consists primarily of rental income from commercial office space we hold under lease and have sublet to other tenants. Provision (Benefit) for Income Taxes We are subject to income taxes in the U.S. (federal and state) and numerous foreign jurisdictions.
Other income primarily consists of rental income from commercial office space we hold under lease and have sublet to other tenants. Provision (Benefit) for Income Taxes We are subject to income taxes in the U.S. (federal and state) and numerous foreign jurisdictions.
Generally, our revenue is based on a percentage of the ad spend that runs through our platform, although for certain clients, services, or transaction types we may receive a fixed CPM for each impression sold, and for advertising campaigns that are transacted through insertion orders we earn revenue based on the full amount of ad spend that runs through our platform.
Generally, our revenue is based on a percentage of the ad spend that runs through our platform, although for certain clients, services, or transaction types we may receive a fixed CPM for each impression sold, and for advertising campaigns that are transacted through insertion orders, we earn revenue based on the full amount of ad spend that runs through our platform.
Adjusted EBITDA We define Adjusted EBITDA as net income (loss) adjusted to exclude stock-based compensation expense, depreciation and amortization, amortization of acquired intangible assets, impairment charges, interest income or expense, and other cash and non-cash based income or expenses that we do not consider indicative of our core operating performance, including, but not limited to foreign exchange gains and losses, acquisition and related items, gains or losses on extinguishment of debt, non-operational real estate and other expense (income), net, and provision (benefit) for income taxes.
Adjusted EBITDA We define Adjusted EBITDA as net income (loss) adjusted to exclude stock-based compensation expense, depreciation and amortization, amortization of acquired intangible assets, impairment charges, interest income or expense, and other cash and non-cash based income or expenses that we do not consider indicative of our core operating performance, including, but not limited to foreign exchange gains and losses, acquisition and related items, gains or losses on extinguishment of debt, other debt refinancing expenses, non-operational real estate and other expenses (income), net, and provision (benefit) for income taxes.
Our sales and support organization focuses on increasing the adoption of our solution by existing and new buyers and sellers and supports ongoing client relationships. We amortize acquired intangibles associated with client relationships and backlog from our business acquisitions over their estimated useful lives. Technology and Development .
Our sales and support organization focuses on increasing the adoption of our solution by existing and new buyers and sellers and supports ongoing client relationships. We amortize acquired intangibles associated with client relationships from our business acquisitions over their estimated useful lives. Technology and Development .
Foreign currency exchange (gain) loss, net consists primarily of gains and losses on foreign currency transactions and remeasurement of monetary assets and liabilities on our balance sheet denominated in foreign currencies. Foreign currency monetary assets and liabilities consist primarily of cash and cash equivalents, accounts receivable, accounts payable, and various intercompany balances held between our subsidiaries.
Foreign currency exchange (gain) loss, net consists of gains and losses on foreign currency transactions and remeasurement of monetary assets and liabilities on our balance sheet denominated in foreign currencies. Foreign currency monetary assets and liabilities primarily consists of cash and cash equivalents, accounts receivable, accounts payable, and various intercompany balances held between our subsidiaries.
Our primary foreign currency exposures are currencies other than the U.S. Dollar, principally the Australian Dollar, British Pound, Canadian Dollar, Euro, Japanese Yen, and New Zealand Dollar. Gain on Extinguishment of Debt .
Our primary foreign currency exposures are currencies other than the U.S. Dollar, principally the Australian Dollar, British Pound, Canadian Dollar, Euro, Japanese Yen, and New Zealand Dollar. (Gain) Loss on Extinguishment of Debt .
The net deferred tax liabilities recorded in connection with the prior year’s acquisitions and current taxable income for the year provided sources of taxable income to support the realization of pre-existing deferred tax assets.
The net deferred tax liabilities recorded in connection with prior acquisitions and current taxable income for the year provided sources of taxable income to support the realization of pre-existing deferred tax assets.
Our general and administrative expenses consist primarily of personnel costs, including salaries, bonuses, and stock-based compensation, associated with our executive, finance, legal, human resources, compliance, and other administrative personnel, as well as accounting and legal professional services fees, facilities-related costs, depreciation expense, bad debt expense, and other corporate-related expenses. Merger, Acquisition, and Restructuring Costs.
Our general and administrative expenses primarily consists of personnel costs, including salaries, bonuses, and stock-based compensation, associated with our executive, finance, legal, human resources, compliance, and other administrative personnel, as well as accounting and legal professional services fees, facilities-related costs, depreciation expense, bad debt expense, and other corporate-related expenses. Merger, Acquisition, and Restructuring Costs.
Cash outflows from financing activities for the year ended December 31, 2022 included $15.7 million for payments related to share repurchases, $14.5 million for taxes paid related to net share settlement of stock-based awards, and $3.6 million for repayment of our Prior Term Loan B Facility.
Cash outflows from financing activities for the year ended December 31, 2022 included $15.7 million for payments related to share repurchases, $14.5 million for taxes paid related to net share settlement of stock-based awards, and $3.6 million for repayment of our 2021 Term Loan B Facility.
Contractual Obligations and Known Future Cash Requirements Our principal commitments as of December 31, 2023 consist of obligations under our Convertible Senior Notes, Prior Term Loan B Facility, Prior Revolving Credit Facility, leases for our various office facilities, including our corporate headquarters in New York, New York and offices in Los Angeles, California, and operating lease agreements, including data centers and cloud hosting services that expire at various times through 2033.
Contractual Obligations and Known Future Cash Requirements Our principal commitments as of December 31, 2024 consist of obligations under our Convertible Senior Notes, 2024 Term Loan B Facility, 2024 Revolving Credit Facility, leases for our various office facilities, including our corporate headquarters in New York, New York and offices in Los Angeles, California, and operating lease agreements, including data centers and cloud hosting services that expire at various times through 2033.
Our merger, acquisition, and restructuring costs consist primarily of professional service fees associated with merger and acquisition activities, cash-based employee termination costs, related stock-based compensation charges, and other restructuring activities, including facility closures, relocation costs, contract termination costs, and impairment costs of abandoned technology associated with restructuring activities. Other (Income) Expense Interest (Income) Expense, Net.
Our merger, acquisition, and restructuring costs primarily consists of professional service fees associated with merger and acquisition activities, cash-based employee termination costs, related stock-based compensation charges, and other restructuring activities, including facility closures, relocation costs, contract termination costs, and impairment costs of abandoned technology associated with restructuring activities. Other (Income) Expense Interest (Income) Expense, Net.
There have been no significant changes in our accounting policies or estimates from those disclosed in our audited consolidated financial statements and notes thereto for the years ended December 31, 2023, 2022 and 2021.
There have been no significant changes in our accounting policies or estimates from those disclosed in our audited consolidated financial statements and notes thereto for the years ended December 31, 2024, 2023 and 2022.
In 2022, these costs were primarily due to restructuring activities related to the integration of our recent acquisitions, which included $3.3 million of impairment costs associated with abandoned technology, $2.0 million non-cash stock-based compensation expense associated with the acceleration of unvested equity awards, and $1.2 million of one-time cash-based employee termination costs.
In 2022, these costs primarily included $3.3 million of impairment costs associated with abandoned technology, $2.0 million non-cash stock-based compensation expense associated with the acceleration of unvested equity awards, and $1.2 million of one-time cash-based employee termination costs due to restructuring activities related to the integration of our acquisitions.
Our sales and marketing expenses consist primarily of personnel costs, including salaries, bonuses, and stock-based compensation, as well as marketing expenses such as brand marketing, travel expenses, trade shows and marketing materials, amortization expense associated with client relationships, backlog, and non-compete agreements from our business acquisitions, professional services, facilities-related costs, and depreciation expense.
Our sales and marketing expenses primarily consists of personnel costs, including salaries, bonuses, and stock-based compensation, as well as marketing expenses such as brand marketing, travel expenses, trade shows and marketing materials, amortization expense associated with client relationships, and non-compete agreements from our business acquisitions, professional services, facilities-related costs, and depreciation expense.
Software development costs that do not meet the qualification for capitalization, as further discussed below, are expensed as incurred and recorded in technology and development expenses in the results of operations. 57 Table of Contents Software development activities generally consist of three stages, (i) the planning stage, (ii) the application and infrastructure development stage, and (iii) the post implementation stage.
Software development costs that do not meet the qualification for capitalization, as further discussed below, are expensed as incurred and recorded in technology and development expenses in the results of operations. Software development activities generally consist of three stages, (i) the planning stage, (ii) the application and infrastructure development stage, and (iii) the post implementation stage.
On February 6, 2024, we entered into a credit agreement (the “New Credit Agreement”) with Morgan Stanley Senior Funding, Inc. as term loan administrative agent and Citibank, N.A. as revolving facility administrative agent and collateral agent, and other lender parties thereto.
On February 6, 2024, we entered into a credit agreement (the “2024 Credit Agreement”) with Morgan Stanley Senior Funding, Inc. as our term loan administrative agent and Citibank, N.A. as our revolving facility administrative agent and collateral agent, and other lender parties thereto.
Our collection and payment cycle can vary from period to period depending upon various circumstances, including seasonality, and may be negatively impacted by certain macroeconomic challenges, such as capital market disruptions and instability of financial institutions.
Our collection and payment cycle can vary from period to period depending upon various circumstances, 53 Table of Contents including seasonality, and may be negatively impacted by certain macroeconomic challenges, such as capital market disruptions and instability of financial institutions.
Our cost of revenue consists primarily of cloud hosting, data center, and bandwidth costs, ad protection costs, depreciation and maintenance expense of hardware supporting our revenue-producing platform, amortization of software costs for the development of our revenue-producing platform, amortization expense associated with acquired developed technologies, and personnel costs.
Our cost of revenue primarily consists of cloud hosting, data center, and bandwidth costs, ad verification costs, depreciation and maintenance expense of hardware supporting our revenue-producing platform, amortization of internally-developed software costs for the development of our revenue-producing platform, amortization expense associated with acquired developed technologies, personnel costs, and software costs.
Capitalization ends once a project is substantially complete and the software and technologies are ready for their intended purpose. There is judgment involved in estimating the stage of development as well as estimating time allocated to a particular project.
Capitalization ends once a project is substantially complete and the software and technologies are ready for their intended purpose. There is judgment involved in estimating the stage of 57 Table of Contents development as well as estimating time allocated to a particular project.
We amortize internal use software development costs that relate 44 Table of Contents to our revenue-producing activities on our platform to cost of revenue and amortize other internal use software development costs to technology and development costs or general and administrative expenses, depending on the nature of the related project.
We amortize internal use software development costs that relate to our revenue-producing activities on our platform to cost of revenue and amortize other internal use software development costs to technology and development costs or general and administrative expenses, depending on the nature of the related project.
Technology and Development Technology and development expenses increased $0.6 million, or 1%, for the year ended December 31, 2023 compared to the prior year.
Technology and Development Technology and development expenses increased $0.9 million, or 1%, for the year ended December 31, 2024 compared to the prior year. Technology and development expenses increased $0.6 million, or 1%, for the year ended December 31, 2023 compared to the prior year.
Cash outflows from financing activities for the year ended December 31, 2023 primarily included $165.5 million of payments related to repurchasing our Convertible Senior Notes, $11.8 million for taxes paid related to net share settlement of stock-based awards, $3.6 million for repayment of our Prior Term Loan B Facility, and $2.3 million for payment of our indemnification claims holdback related to historical acquisitions.
Cash outflows from financing activities for the year ended December 31, 2023 primarily included $165.5 million of payments related to repurchasing our Convertible Senior Notes, $11.8 million for taxes paid related to net share settlement of stock-based awards, $3.6 million for repayment of our 2021 Term Loan B Facility, and $2.3 million for payment of our indemnification claims holdback related to a historical acquisition.
Subsequently, on February 1, 2024, the Board of Directors approved a new repurchase plan (the "February 2024 Repurchase Plan"), which fully replaced the August 2023 Repurchase Plan, pursuant to which we are authorized to repurchase common stock or Convertible Senior Notes, with an aggregate market value of up to $125.0 million, through February 1, 2026.
On February 1, 2024, the Board of Directors approved a new repurchase plan (the "February 2024 Repurchase Plan"), which fully replaced the prior repurchase plan, pursuant to which we are authorized to repurchase common stock or Convertible Senior Notes, with an aggregate market value of up to $125.0 million, through February 1, 2026.
Tax laws, regulations, administrative practices, principles, and interpretations in various jurisdictions may be subject to significant change, with or without notice, due to economic, political, and other conditions, and significant judgment is required in evaluating and estimating our provision and accruals for these taxes.
Tax laws, regulations, administrative practices, principles, and interpretations in various jurisdictions may be subject to significant change, with or without 45 Table of Contents notice, due to economic, political, and other conditions, and significant judgment is required in evaluating and estimating our provision and accruals for these taxes.
No demands for indemnification have been made as of December 31, 2023. 56 Table of Contents Critical Accounting Policies and Estimates Our consolidated financial statements are prepared in accordance with GAAP. The preparation of these consolidated financial statements requires us to make estimates and assumptions that affect the reported amounts of assets, liabilities, revenue, expenses, and related disclosures.
No demands for indemnification have been made as of December 31, 2024. Critical Accounting Policies and Estimates Our consolidated financial statements are prepared in accordance with GAAP. The preparation of these consolidated financial statements requires us to make estimates and assumptions that affect the reported amounts of assets, liabilities, revenue, expenses, and related disclosures.
Interest expense consists of interest expense associated with our Prior Term Loan B Facility (defined below) and Convertible Senior Notes (defined below), and their related amortization of debt issuance costs and debt discount. Interest income consists of interest earned on our cash equivalents. Foreign Currency Exchange (Gain) Loss, Net .
Interest expense primarily consists of interest expense associated with our 2024 Term Loan B Facility (defined below), 2021 Term Loan B Facility (defined below) and Convertible Senior Notes (defined below), and their related amortization of debt issuance costs and debt discount. Interest income primarily consists of interest earned on our cash equivalents. Foreign Currency Exchange (Gain) Loss, Net .
Merger, Acquisition, and Restructuring Costs We incurred merger, acquisition, and restructuring costs of $7.5 million, $7.5 million, and $38.2 million during the years ended December 31, 2023, 2022, and 2021, respectively, primarily related to the SpotX and SpringServe Acquisitions, which were completed on April 30, 2021 and July 1, 2021, respectively.
We incurred merger, acquisition, and restructuring costs of $7.5 million and $7.5 million during the years ended December 31, 2023 and 2022, respectively, primarily related to the acquisitions of SpotX, Inc. and SpringServe, LLC, which were completed on April 30, 2021 and July 1, 2021, respectively.
Our future cash flows will be diminished if we cannot increase our revenue levels and manage costs appropriately. During the year ended December 31, 2023, net cash provided by operating activities was $214.4 million, compared to net cash provided by operating activities of $192.6 million and $126.6 million during the years ended December 31, 2022 and 2021, respectively.
Our future cash flows will be diminished if we cannot increase our revenue levels and manage costs appropriately. During the year ended December 31, 2024, net cash provided by operating activities was $235.2 million, compared to net cash provided by operating activities of $214.4 million and $192.6 million during the years ended December 31, 2023 and 2022, respectively.
Our revenue growth was driven primarily by growth in mobile and CTV, which was partially offset by a decrease in desktop. Revenue from mobile and CTV increased by $39.7 million, or 21%, and $13.6 million, or 5%, respectively, while desktop decreased by $10.6 million, or 9%.
Our revenue growth was driven primarily by growth in mobile and CTV, which was partially offset by a decrease in desktop. Revenue from mobile and CTV increased by $39.7 million, or 21%, and $13.6 million, or 5%, respectively, while desktop decreased by $10.6 47 Table of Contents million, or 9%.
This increase was primarily driven by incremental amortization due to the acceleration of the remaining lives of certain acquired intangible assets and capitalized software from the integration of our legacy Magnite CTV and SpotX CTV platforms, which started in the fourth quarter of 2022 and was completed in the third quarter of 2023.
These increases were primarily driven by incremental amortization due to the acceleration of the remaining lives of certain acquired intangible assets and capitalized software from the integration of our legacy Magnite CTV and SpotX CTV platforms, which started in the fourth quarter of 2022 and was completed in the third quarter of 2023.
Provision (Benefit) for Income Taxes We recorded an income tax expense of $1.6 million for the year ended December 31, 2023 compared to an income tax benefit of $5.3 million and $95.1 million for the years ended December 31, 2022 and 2021, respectively.
Provision (Benefit) for Income Taxes We recorded an income tax expense of $3.7 million for the year ended December 31, 2024 compared to an income tax expense of $1.6 million and an income tax benefit $5.3 million for the years ended December 31, 2023 and 2022, respectively.
We believe our existing cash and cash equivalents, cash generated from operating activities, and amounts available to borrow under our New Revolving Credit Facility will be sufficient to meet our working capital requirements for at least the next twelve months from the issuance of our financial statements.
We believe our existing cash and cash equivalents, cash generated from operating activities, and amounts available to borrow under our 2024 Revolving Credit Facility will be sufficient to meet our liquidity requirements for at least the next twelve months from the issuance of our financial statements.
Our principal cash requirements for the twelve-month period following this report primarily consist of personnel costs, contractual payment obligations, including office leases, data center costs and cloud hosting costs, capital expenditures, payment of 52 Table of Contents interest and required principal payments on our Convertible Senior Notes, New Term Loan B Facility, cash outlays for income taxes, and cash requirements to fund working capital.
Our principal cash requirements for the twelve-month period following this report primarily consists of personnel costs, contractual payment obligations, including office leases, data center costs and cloud hosting costs, capital expenditures, payment of interest and required principal payments on our Convertible Senior Notes and our 2024 Term Loan B Facility, cash outlays for income taxes, and cash requirements to fund working capital.
Merger, acquisition, and restructuring costs incurred during 2023 included $3.4 million of severance related expenses, $2.2 million of facilities related loss contracts, and $1.4 million of exit costs, all due to restructuring activities as a result of consolidating our legacy CTV and SpotX CTV platforms following the SpotX Acquisition.
In 2023, these costs primarily included $3.4 million of severance related expenses, $2.2 million of facilities related loss contracts, and $1.4 million of exit costs, all due to restructuring activities as a result of consolidating our legacy CTV and SpotX CTV platforms following the SpotX acquisition.
For the years ended December 31, 2023, 2022, and 2021, our revenue reported on a gross basis was 18%, 18%, and 17% of total revenue for the respective periods.
For the years ended December 31, 2024, 2023, and 2022, our revenue reported on a gross basis was 14%, 18%, and 18% of total revenue for the respective periods.
Net changes in our working capital resulted in increases of $75.5 million, $40.4 million, and $31.9 million in cash provided by operating activities in 2023, 2022, and 2021 respectively. The net changes in working capital for all periods presented are primarily due to the timing of cash receipts from buyers and the timing of payments to sellers.
Net changes in our working capital also resulted in increases of $76.6 million, $75.5 million, and $40.4 million in cash provided by operating activities in 2024, 2023, and 2022 respectively. The net changes in working capital for all periods presented are primarily due to the timing of cash receipts from buyers and the timing of payments to sellers.
Our management believes Contribution ex-TAC is a useful measure in assessing the performance of Magnite and facilitates a consistent comparison against our core business without considering the impact of traffic acquisition costs related to revenue reported on a gross basis.
Our management believes Contribution ex-TAC is a useful measure in facilitating a consistent comparison against our core business without considering the impact of traffic acquisition costs related to revenue reported on a gross basis.
The New Credit Agreement provides for a $365.0 million seven-year senior secured term loan facility (the "New Term Loan B Facility") and a $175.0 million five-year senior secured revolving credit facility (the "New Revolving Credit Facility").
The 2024 Credit Agreement provided for a $365.0 million seven-year senior secured term loan facility (the "2024 Term Loan B Facility") and a $175.0 million five-year senior secured revolving credit facility (the "2024 Revolving Credit Facility").
Sales and Marketing Sales and marketing expenses decreased $26.1 million, or 13%, for the year ended December 31, 2023 compared to the prior year primarily due to a decrease of $44.3 million in depreciation and amortization related to certain acquired intangible assets becoming fully amortized in 2022 and 2023.
Sales and marketing expenses decreased $26.1 million, or 13%, for the year ended December 31, 2023 compared to the prior year, primarily due to decreases of $44.3 million in depreciation and amortization, which were primarily driven by certain acquired intangible assets becoming fully amortized in 2022 and 2023.
We believe that the following assumptions and estimates have the greatest potential impact on our consolidated financial statements: (i) the determination of revenue recognition as net versus gross in our revenue arrangements and (ii) the determination of amounts to capitalize and the estimated useful lives of internal-use software development costs.
Our actual results could differ from these estimates. 56 Table of Contents We believe that the following assumptions and estimates have the greatest potential impact on our consolidated financial statements: (i) the determination of revenue recognition as net versus gross in our revenue arrangements and (ii) the determination of amounts to capitalize and the estimated useful lives of internal-use software development costs.
During the year ended December 31, 2023, net cash used in investing activities was $37.4 million, compared to net cash used in investing activities of $65.2 million and $691.0 million during the years ended December 31, 2022 and 2021, respectively.
During the year ended December 31, 2024, net cash used in investing activities was $47.5 million, compared to net cash used in investing activities of $37.4 million and $65.2 million during the years ended December 31, 2023 and 2022, respectively.
General and Administrative General and administrative expenses increased $7.7 million, or 9%, for the year ended December 31, 2023 compared to the prior year, primarily due to increases of $4.8 million in bad debt expense.
General and administrative expenses increased by $7.7 million, or 9%, for the year ended December 31, 2023 compared to the prior year, primarily due to increases of $4.8 million in bad debt expense, as described above, and $4.2 million in personnel costs.
Foreign exchange loss, net increased $3.1 million during the year ended December 31, 2023 compared to the prior year, due to movements in foreign currency exchange rates and the amount of foreign currency-denominated cash, receivables, and payables, which were impacted by our billings to buyers, payments to sellers, and intercompany balances.
Foreign exchange (gain) loss, net changed by $7.0 million during the year ended December 31, 2024 compared to the prior year, due to movements in foreign currency exchange rates and the amount of foreign currency-denominated cash, receivables, and payables, which were impacted by our billings to buyers, payments to sellers, and intercompany balances.
We evaluate our estimates and assumptions on an ongoing basis. Our estimates are based on historical experience and various other assumptions that we believe to be reasonable under the circumstances. Our actual results could differ from these estimates.
We evaluate our estimates and assumptions on an ongoing basis. Our estimates are based on historical experience and various other assumptions that we believe to be reasonable under the circumstances.
Factors that could cause or contribute to these differences include those discussed below and elsewhere in this Annual Report on Form 10-K, particularly in "Item 1A. Risk Factors" and the "Special Note About Forward-Looking Statements." Overview and Trends See "Item 1. Business" for an overview of our business, the industry in which we operate, and important industry trends.
Factors that could cause or contribute to these differences include those discussed below and elsewhere in this Annual Report on Form 10-K, particularly in "Item 1A. Risk Factors" and the "Special Note About Forward-Looking Statements; Summary of Risk Factors." Overview and Trends See "Item 1.
Any worsening of macroeconomic conditions in future periods would likely have a negative effect on our financial results, the magnitude of which is difficult to predict. In addition, continued inflation could result in an increase in our cost base relative to our revenue. Refer to Item 1A.
Any worsening of macroeconomic conditions in future periods would likely have a negative effect on our financial results, the magnitude of which is difficult to predict. In addition, continued inflation could result in an increase in our cost base relative to our revenue. Refer to Item 1A. "Risk Factors" for additional information related to risks associated with macroeconomic challenges.
These limitations include: • Stock-based compensation is a non-cash charge and will remain an element of our long-term incentive compensation package, although we exclude it as an expense when evaluating our ongoing operating performance for a particular period. • Depreciation and amortization are non-cash charges, and the assets being depreciated or amortized will often have to be replaced in the future, but Adjusted EBITDA does not reflect any cash requirements for these replacements. 51 Table of Contents • Impairment charges are non-cash charges related to goodwill, intangible assets and/or long-lived assets. • Adjusted EBITDA does not reflect certain cash and non-cash charges related to acquisition and related items, such as amortization of acquired intangible assets, merger, acquisition, or restructuring related severance costs, and changes in the fair value of contingent consideration. • Adjusted EBITDA does not reflect cash and non-cash charges and changes in, or cash requirements for, acquisition and related items, such as certain transaction expenses and expenses associated with earn-out amounts. • Adjusted EBITDA does not reflect changes in our working capital needs, capital expenditures, non-operational real estate expenses or income, or contractual commitments. • Adjusted EBITDA does not reflect cash requirements for income taxes and the cash impact of other income or expense. • Other companies may calculate Adjusted EBITDA differently than we do, limiting its usefulness as a comparative measure.
These limitations include: • Stock-based compensation is a non-cash charge and will remain an element of our long-term incentive compensation package, although we exclude it as an expense when evaluating our ongoing operating performance for a particular period. • Depreciation and amortization are non-cash charges, and the assets being depreciated or amortized will often have to be replaced in the future, but Adjusted EBITDA does not reflect any cash requirements for these replacements. • Impairment charges are non-cash charges related to goodwill, intangible assets and/or long-lived assets. • Adjusted EBITDA does not reflect certain cash and non-cash charges related to acquisition and related items, such as amortization of acquired intangible assets, merger, acquisition, or restructuring related severance costs, and changes in the fair value of contingent consideration. • Adjusted EBITDA does not reflect cash and non-cash charges and changes in, or cash requirements for, acquisition and related items, such as certain transaction expenses. • Adjusted EBITDA does not reflect cash and non-cash charges related to certain financing transactions such as gains or losses on extinguishment of debt or other debt refinancing expenses. • Adjusted EBITDA does not reflect certain non-operational real estate and other (income) and expense, net, which consists of transactions or expenses that are typically by nature non-operating, one-time items, or unrelated to our core operations. • Adjusted EBITDA does not reflect changes in our working capital needs, capital expenditures, or contractual commitments. • Adjusted EBITDA does not reflect cash requirements for income taxes and the cash impact of other income or expense. • Other companies may calculate Adjusted EBITDA differently than we do, limiting its usefulness as a comparative measure. 51 Table of Contents Our Adjusted EBITDA is influenced by fluctuations in our revenue, cost of revenue, and the timing and amounts of the cost of our operations.
During the year ended December 31, 2023, 2022, and 2021, we used cash for purchases of property and equipment of $26.8 million, $30.8 million, and $17.7 million, respectively, and used cash for investments in our internally developed software of $10.6 million, $13.6 million, and $11.4 million, respectively.
During the year ended December 31, 2024, 2023, and 2022, we used cash for purchases of property and equipment of $32.8 million, $26.8 million, and $30.8 million, respectively, and used cash for investments in our internally developed software of $14.3 million, $10.6 million, and $13.6 million, respectively.
Performance obligations for all transactions are satisfied, and the corresponding revenue is recognized, at a distinct point in time. We have no arrangements with multiple performance obligations.
Performance obligations for all transactions are satisfied, and the corresponding revenue is recognized, at a distinct point in time.
The increase in Contribution ex-TAC was primarily due to the growth drivers described above for revenue. Contribution ex-TAC increased $98.2 million, or 24%, for the year ended December 31, 2022 compared to the year ended December 31, 2021.
The increase in Contribution ex-TAC was primarily due to the growth drivers described above for revenue. Contribution ex-TAC increased $34.5 million, or 7%, for the year ended December 31, 2023 compared to the year ended December 31, 2022. The increase in Contribution ex-TAC was primarily due to the growth drivers described above for revenue.
Our Adjusted EBITDA is influenced by fluctuations in our revenue, cost of revenue, and the timing and amounts of the cost of our operations. Adjusted EBITDA should not be considered as an alternative to net income (loss), income (loss) from operations, or any other measure of financial performance calculated and presented in accordance with GAAP.
Adjusted EBITDA should not be considered as an alternative to net income (loss), income (loss) from operations, or any other measure of financial performance calculated and presented in accordance with GAAP.
Our working capital needs and cash conversion cycle, which is influenced by seasonality and by the mix of terms among our buyers and sellers and which may be negatively impacted as a result of pandemics, inflationary, recessionary and other macroeconomic challenges, can have large fluctuations due to the timing of receipts from buyers and timing of disbursements to sellers.
As of December 31, 2024, $110.4 million remains available under the February 2024 Repurchase Plan. 52 Table of Contents Our working capital needs and cash conversion cycle, which is influenced by seasonality and by the mix of terms among our buyers and sellers and which may be negatively impacted as a result of pandemics, inflationary, recessionary and other macroeconomic challenges, can have large fluctuations due to the timing of receipts from buyers and timing of disbursements to sellers.
Because pricing and take rate vary across publisher, channel, and transaction type, our revenue is subject to changes in publisher-specific take rates, and shifts in the mix of advertising spend on our platform among publishers and transaction types. For instance, managed services tend to have higher take rates while reserve auctions tend to have lower take rates.
Because pricing and take rate vary across publisher, channel, and transaction type, our revenue is subject to changes in publisher-specific take rates, and shifts in the mix of advertising spend on our platform among publishers and transaction types.
The income tax expense for the year ended December 31, 2023 was primarily the result of the domestic valuation allowance and the federal, state, and foreign income tax liabilities. We continue to maintain a valuation allowance for our domestic deferred tax assets.
The income tax expense for the year ended December 31, 2023 was primarily the result of the domestic valuation allowance and the federal, state, and foreign income tax liabilities.
For 2024, we expect Contribution ex-TAC will increase compared to the prior year period, and although Contribution ex-TAC from mobile was the primary driver in Contribution ex-TAC growth in 2023, we expect CTV will be our biggest growth driver in 2024.
For 2025, we expect Contribution ex-TAC will increase compared to the prior year period, and we expect CTV will be our biggest growth driver in 2025.
Cash Flows The following table summarizes our cash flows for the periods presented: Year Ended December 31, 2023 December 31, 2022 December 31, 2021 (in thousands) Cash flows provided by operating activities $ 214,367 $ 192,550 $ 126,589 Cash flows used in investing activities (37,383) (65,152) (690,997) Cash flows provided by (used in) financing activities (177,842) (30,172) 678,053 Effects of exchange rate changes on cash, cash equivalents and restricted cash 575 (1,417) (683) Change in cash, cash equivalents and restricted cash $ (283) $ 95,809 $ 112,962 Operating Activities Our cash flows from operating activities are primarily driven by revenue from transactions of advertising on our platform, offset by the cash costs of operations, and are significantly influenced by the timing of and fluctuations in receipts from buyers and 54 Table of Contents related payments to sellers.
Cash Flows The following table summarizes our cash flows for the periods presented: Year Ended December 31, 2024 December 31, 2023 December 31, 2022 (in thousands) Cash flows provided by operating activities $ 235,201 $ 214,367 $ 192,550 Cash flows used in investing activities (47,502) (37,383) (65,152) Cash flows used in financing activities (28,904) (177,842) (30,172) Effects of exchange rate changes on cash, cash equivalents and restricted cash (1,794) 575 (1,417) Change in cash, cash equivalents and restricted cash $ 157,001 $ (283) $ 95,809 Operating Activities Our cash flows from operating activities are primarily driven by revenue generated by our business, offset by the cash costs of operations, and are significantly influenced by the timing of and fluctuations in receipts from buyers and related payments to sellers.
During the year ended December 31, 2023, net cash used in financing activities was $177.8 million, compared to net cash used in financing activities of $30.2 million for the year ended December 31, 2022 and net cash provided by financing activities of $678.1 million during the year ended December 31, 2021.
During the year ended December 31, 2024, net cash used in financing activities was $28.9 million, compared to net cash used in financing activities of $177.8 million and $30.2 million for the years ended December 31, 2023 and 2022, respectively.
Sales and marketing expenses may fluctuate quarter to quarter and period to period, on an absolute dollar basis and as a percentage of revenue, based on revenue levels, the timing of our investments and seasonality in our industry and business.
These decreases were partially offset by increases of $15.3 million of personnel costs. Sales and marketing expenses may fluctuate quarter to quarter and period to period, on an absolute dollar basis and as a percentage of revenue, based on revenue levels, the timing of our investments and seasonality in our industry and business.
During 2023, our growth rate in CTV was negatively impacted, in part, by a mix shift towards large CTV sellers that transacted primarily through reserve auctions, which carry a lower overall take rate compared to other transaction types. Revenue increased $108.7 million, or 23%, for the year ended December 31, 2022 compared to the prior year.
During 2023, our growth rate in CTV was negatively impacted, in part, by a mix shift towards large CTV sellers that transacted primarily through reserve auctions, which carry a lower overall take rate compared to other transaction types.
Gain on extinguishment of debt consists of gains or losses associated with the repurchases of Convertible Senior Notes at a discount or premium, respectively, including unamortized issuance costs, accrued interest expense, and commissions associated with the extinguished debt. Other Income.
Gain or loss on extinguishment of debt consists of gains or losses associated with the repurchases of Convertible Senior Notes at a discount or premium and gains or losses associated with the refinancing of our debt facilities, including the extinguishment of unamortized debt discount, debt issuance costs, and deferred financing costs. Other Income.
Our technology and development expenses consist primarily of personnel costs, including salaries, bonuses, and stock-based compensation, as well as professional services associated with the ongoing development and maintenance of our solution, third-party software license costs, facilities-related costs, and depreciation and amortization expense.
Our technology and development expenses primarily consists of personnel costs, including salaries, bonuses, and stock-based compensation, as well as professional services associated with the ongoing development and maintenance of our solution, software costs, facilities-related costs, and depreciation and amortization expense. These expenses include costs incurred in the development, implementation, and maintenance of internal use software, including platform and related infrastructure.
Our operating activities included net loss of $159.2 million, net loss of $130.3 million, and net income of $0.1 million for the years ended December 31, 2023 and 2022, and 2021, respectively, which were offset by non-cash adjustments of $298.1 million, $282.4 million, and $94.6 million, respectively.
Our operating activities included net income of $22.8 million, net loss of $159.2 million, and net loss of $130.3 million for the years ended December 31, 2024, 2023, and 2022, respectively. Non-cash adjustments of $135.8 million, $298.1 million, and $282.4 million increased cash provided by operating activities in 2024, 2023, and 2022 respectively.
We track the breakdown of Contribution ex-TAC across channels to better understand how our clients are transacting on our platform, which informs decisions as to business strategy and the allocation of resources and capital.
We track the breakdown of Contribution ex-TAC across channels to better understand how our clients are transacting on our platform.
The following table presents the calculation of gross profit and reconciliation of gross profit to Contribution ex-TAC for the years ended December 31, 2023, 2022, and 2021, respectively: Year Ended December 31, 2023 December 31, 2022 December 31, 2021 (in thousands) Revenue $ 619,710 $ 577,069 $ 468,413 Less: Cost of revenue 409,906 307,165 201,662 Gross profit 209,804 269,904 266,751 Add back: Cost of revenue, excluding TAC 339,343 244,711 149,704 Contribution ex-TAC $ 549,147 $ 514,615 $ 416,455 50 Table of Contents Sellers use our technology to monetize their content across all digital channels, including CTV, mobile and desktop.
The following table presents the calculation of gross profit and reconciliation of gross profit to Contribution ex-TAC for the years ended December 31, 2024, 2023, and 2022, respectively: Year Ended Change % December 31, 2024 December 31, 2023 December 31, 2022 2024 vs 2023 2023 vs 2022 (in thousands) Revenue $ 668,170 $ 619,710 $ 577,069 8 % 7 % Less: Cost of revenue 258,838 409,906 307,165 (37) % 33 % Gross profit 409,332 209,804 269,904 95 % (22) % Add back: Cost of revenue, excluding TAC 197,610 339,343 244,711 (42) % 39 % Contribution ex-TAC $ 606,942 $ 549,147 $ 514,615 11 % 7 % Sellers use our technology to monetize their content across all digital channels, including CTV, mobile, and desktop.
We also evaluate internal use software for abandonment and use that as a significant indicator for impairment on a quarterly basis. Recently Issued Accounting Pronouncements The information set forth under Note 2 to our "Notes to Consolidated Financial Statements" under the caption "Organization and Summary of Significant Accounting Policies" is incorporated herein by reference.
Recently Issued Accounting Pronouncements The information set forth under Note 2 to our "Notes to Consolidated Financial Statements" under the caption "Organization and Summary of Significant Accounting Policies" is incorporated herein by reference.
In addition, we were party to a $65.0 million Prior Revolving Credit Facility (as defined below), of which approximately $5.3 million was assigned to outstanding but undrawn letters of credit.
In addition, we were party to a $175.0 million 2024 Revolving Credit Facility (as defined below), of which approximately $5.2 million was assigned to outstanding but undrawn letters of credit. See "Capital Resources" below for further information about our outstanding debt.
At December 31, 2023, the balance of the Convertible Senior Notes was $202.5 million, net of unamortized debt issuance costs of $2.6 million. Accrued interest for the Convertible Senior Notes at December 31, 2023 was $0.1 million.
At December 31, 2024, the balance of the Convertible Senior Notes was $203.6 million, net of unamortized debt issuance costs of $1.4 million.
Other (Income) Expense, Net Year Ended December 31, 2023 December 31, 2022 December 31, 2021 (in thousands) Interest expense, net $ 32,369 $ 29,260 $ 19,848 Foreign exchange (gain) loss, net 1,953 (1,129) (1,480) Gain on debt extinguishment (26,480) — — Other income (5,304) (5,318) (4,450) Total other expense, net $ 2,538 $ 22,813 $ 13,918 Interest expense, net increased by $3.1 million during the year ended December 31, 2023 compared to the prior year, mainly due to increased interest expense of $11.3 million as a result of increased interest rates on our Prior Term Loan B Facility (defined below), partially offset by an increase in interest income of $8.2 million.
Interest expense, net increased by $3.1 million during the year ended December 31, 2023 compared to the prior year, mainly due to increased interest expense of $11.3 million as a result of increased interest rates on our 2021 Term Loan B Facility (defined below), partially offset by an increase in interest income of $8.2 million.
The combination of our SSP and ad server provides publishers a holistic yield management solution that works across their entire video advertising business to drive value. We believe the acquisition of SpringServe is highly strategic as it allows us to offer publishers an independent full-stack solution to the walled gardens, which can be leveraged across their entire video advertising business.
We believe these transactions are highly strategic, as the combination of our SSP and ad server allows us to offer publishers an independent full-stack solution that works across their entire video advertising business, for both programmatic and directly sold inventory, to manage yield and drive value.
Refer to Item 1A. "Risk Factors" for additional information related to these risks and the impact they may have on our business. Cost of Revenue Cost of revenue increased $102.7 million, or 33%, for the year ended December 31, 2023 compared to the prior year primarily due to an increase of $69.3 million in depreciation and amortization.
Cost of revenue increased $102.7 million , or 33%, for the year ended December 31, 2023 compared to the prior year, primarily due to increases of $69.3 million in depreciation and amortization.
The following table presents Contribution ex-TAC by channel: Contribution ex-TAC Year Ended December 31, 2023 December 31, 2022 December 31, 2021 (in thousands) Channel: CTV $ 218,494 $ 214,803 $ 143,407 Mobile 226,826 188,116 160,067 Desktop 103,827 111,696 112,981 Total $ 549,147 $ 514,615 $ 416,455 Contribution ex-TAC increased $34.5 million, or 7%, for the year ended December 31, 2023 compared to the year ended December 31, 2022.
The following table presents Contribution ex-TAC by channel for the years ended December 31, 2024, 2023, and 2022: 50 Table of Contents Contribution ex-TAC Year Ended Change % December 31, 2024 December 31, 2023 December 31, 2022 2024 vs 2023 2023 vs 2022 (in thousands) Channel: CTV $ 260,159 $ 218,494 $ 214,803 19 % 2 % Mobile 242,018 226,826 188,116 7 % 21 % Desktop 104,765 103,827 111,696 1 % (7) % Total $ 606,942 $ 549,147 $ 514,615 11 % 7 % Contribution ex-TAC increased $57.8 million, or 11%, for the year ended December 31, 2024 compared to the year ended December 31, 2023.
Note that in February 2024, the Company entered into a New Credit Agreement, which replaced the Prior Credit Agreement. (2) Interest payments are based on an assumed rate of 10.56%, which was the rate as of December 31, 2023 for the associated Prior Term Loan B Facility.
(2) Interest payments are based on an assumed rate of 8.11%, which was the rate as of December 31, 2024 for the associated 2024 Term Loan B Facility.
Our consolidated operating results are regularly reviewed by our chief operating decision maker, principally to make decisions about how we allocate our resources and to measure our consolidated operating performance. Revenue We generate revenue from the use of our platform for the purchase and sale of digital advertising inventory.
Components of Our Results of Operations We report our financial results as one operating segment. Our consolidated operating results are regularly reviewed by our chief operating decision maker, principally to make decisions about how we allocate our resources and to measure our consolidated operating performance.
In addition, as newer entrants to programmatic advertising, the largest publishers and broadcasters have tended to transact almost exclusively through reserve auctions and have lower overall take rates. These publishers have continued to increase their focus and investment in programmatic CTV, and in recent periods have grown as a percentage of our CTV business.
These publishers have continued to increase their focus and investment in programmatic CTV, and in recent periods have grown as a percentage of our CTV business.
Costs of revenue also included increases of $26.2 million in cloud hosting, data center, and bandwidth expenses and $8.1 million in traffic acquisition costs, both primarily due to revenue growth. 47 Table of Contents Cost of revenue increased $105.5 million , or 52%, for the year ended December 31, 2022 compared to the prior year primarily due to an increase of $64.5 million in depreciation and amortization.
The year over year increase in amortization due to the acceleration was $64.0 million. Cost of revenue also included increases of $26.2 million in cloud hosting, data center, and bandwidth expenses and $8.1 million in traffic acquisition costs, both primarily due to revenue growth and an associated increase in the volume of transactions processed on our platform.
We expect technology and development expenses to increase in 2024 compared to 2023 in absolute dollars due to increases in personnel related expenses. The timing and amount of our capitalized development and enhancement projects may affect the amount of development costs expensed in any given period.
The timing and amount of our capitalized development and enhancement projects may affect the amount of development costs expensed in any given period.
The net proceeds from the New Term Loan B Facility were used, among other things, to terminate and to repay in full the outstanding facilities under the Prior Credit Agreement. The New Revolving Credit Facility will be available for 53 Table of Contents general corporate purposes.
The proceeds from the 2024 Term Loan B Facility were used, among other things, to terminate and to repay in full the outstanding facilities under the prior credit agreement entered into in April 2021 (the "2021 Credit Agreement"), which included a term loan facility (the "2021 Term Loan B Facility") and a revolving facility (the "2021 Revolving Credit Facility").
The following table presents a reconciliation of net income (loss), the most comparable GAAP measure, to Adjusted EBITDA for the years ended December 31, 2023, 2022, and 2021: Year Ended December 31, 2023 December 31, 2022 December 31, 2021 (in thousands) Net income (loss) $ (159,184) $ (130,323) $ 65 Add back (deduct): Depreciation and amortization expense, excluding amortization of acquired intangible assets 38,330 31,658 25,017 Amortization of acquired intangibles 202,490 184,394 121,869 Stock-based compensation expense 72,617 64,118 40,735 Merger, acquisition, and restructuring costs, excluding stock-based compensation expense 7,322 5,464 37,106 Non-operational real estate and other expense, net 310 622 552 Interest expense, net 32,369 29,260 19,848 Foreign exchange (gain) loss, net 1,953 (1,129) (1,480) Gain on extinguishment of debt (26,480) — — Provision (benefit) for income taxes 1,637 (5,274) (95,053) Adjusted EBITDA $ 171,364 $ 178,790 $ 148,659 Adjusted EBITDA decreased by $7.4 million during the year ended December 31, 2023 compared to the year ended December 31, 2022, primarily due to increases in cloud hosting, data center, and bandwidth costs, traffic and acquisitions costs, personnel expenses, and bad debt expense, which exceeded increases in revenue year-over-year, which are discussed in section "Comparison of the Years Ended December 31, 2023, 2022, and 2021." Adjusted EBITDA increased by $30.1 million during the year ended December 31, 2022 compared to the year ended December 31, 2021, primarily due to incremental revenue growth from the SpotX Acquisition and organic growth, which are discussed in section "Comparison of the Years Ended December 31, 2023, 2022, and 2021." Liquidity and Capital Resources Liquidity At December 31, 2023, we had cash and cash equivalents of $326.2 million, of which $52.6 million was held in foreign currency denominated cash accounts, and an aggregate gross principal amount of $556.1 million of indebtedness outstanding under our Prior Term Loan B Facility (as defined below) and our Convertible Senior Notes (as defined below).
The following table presents a reconciliation of net income (loss), the most comparable GAAP measure, to Adjusted EBITDA for the years ended December 31, 2024, 2023, and 2022: Year Ended December 31, 2024 December 31, 2023 December 31, 2022 (in thousands) Net income (loss) $ 22,786 $ (159,184) $ (130,323) Add back (deduct): Depreciation and amortization expense, excluding amortization of acquired intangible assets 28,376 38,330 31,658 Amortization of acquired intangibles 30,134 202,490 184,394 Stock-based compensation expense 76,519 72,617 64,118 Merger, acquisition, and restructuring costs, excluding stock-based compensation expense — 7,322 5,464 Non-operational real estate and other expense, net 1,579 310 622 Interest expense, net 27,032 32,369 29,260 Foreign exchange (gain) loss, net (5,083) 1,953 (1,129) (Gain) loss on extinguishment of debt 7,706 (26,480) — Other debt refinancing expense 4,103 — — Provision (benefit) for income taxes 3,698 1,637 (5,274) Adjusted EBITDA $ 196,850 $ 171,364 $ 178,790 Adjusted EBITDA increased by $25.5 million during the year ended December 31, 2024 compared to the year ended December 31, 2023, primarily due to increases in revenue, described above, which were partially offset by increases in expenses to support this revenue growth.
Foreign exchange gain, net decreased $0.4 million during the year ended December 31, 2022 compared to the prior year, for the same reasons above. Gain on debt extinguishment increased by $26.5 million during the year ended December 31, 2023 compared to the prior year due to our Convertible Senior Notes (defined below) repurchases.
The gain on extinguishment of debt of $26.5 million for the year ended December 31, 2023 was due to the repurchase of portions of our Convertible Senior Notes (defined below).