Biggest changeYear ended December 31, 2023 2022 (in thousands) Consolidated Statement of Operations: Revenue $ 505,988 $ 432,725 Cost of revenue 239,660 222,944 Gross profit 266,328 209,781 Operating expenses: Research and development 152,190 155,308 Sales and marketing 191,773 179,869 General and administrative 116,077 120,803 Impairment expense 4,316 — Total operating expenses 464,356 455,980 Loss from operations (198,028) (246,199) Net gain on extinguishment of debt 52,416 54,391 Interest income 18,186 7,044 Interest expense (4,051) (5,887) Other expense, net (1,832) (29) Loss before income tax expense (133,309) (190,680) Income tax expense (benefit) (221) 94 Net loss attributable to common stockholders $ (133,088) $ (190,774) 78 The following tables set forth our results of operations for the period presented as a percentage of our revenue: Year ended December 31, 2023 2022 Consolidated Statements of Operations, as a percentage of revenue:* Revenue 100 % 100 % Cost of revenue 47 52 Gross profit 53 48 Operating expenses: Research and development 30 36 Sales and marketing 38 42 General and administrative 23 28 Impairment expense 1 — Total operating expenses 92 105 Loss from operations (39) (57) Net gain on extinguishment of debt 10 13 Interest income 4 2 Interest expense (1) (1) Other income (expense), net — — Loss before income tax expense (26) (43) Income tax expense (benefit) — — Net loss attributable to common stockholders (26) % (43) % __________ * Columns may not add up to 100% due to rounding.
Biggest changeYear ended December 31, 2024 2023 (in thousands) Consolidated Statement of Operations: Revenue $ 543,676 $ 505,988 Cost of revenue 247,738 239,660 Gross profit 295,938 266,328 Operating expenses: Research and development 137,980 152,190 Sales and marketing 198,610 191,773 General and administrative 113,399 116,077 Impairment expense 4,144 4,316 Restructuring charges 9,720 — Total operating expenses 463,853 464,356 Loss from operations (167,915) (198,028) Net gain on extinguishment of debt 1,365 52,416 Interest income 14,871 18,186 Interest expense (2,747) (4,051) Other expense, net (1,028) (1,832) Loss before income tax expense (benefit) (155,454) (133,309) Income tax expense (benefit) 2,604 (221) Net loss attributable to common stockholders $ (158,058) $ (133,088) 79 The following tables set forth our results of operations for the period presented as a percentage of our revenue: Year ended December 31, 2024 2023 Consolidated Statements of Operations, as a percentage of revenue:* Revenue 100 % 100 % Cost of revenue 46 47 Gross profit 54 53 Operating expenses: Research and development 25 30 Sales and marketing 36 38 General and administrative 21 23 Impairment expense 1 1 Restructuring charges 2 — Total operating expenses 85 92 Loss from operations (31) (39) Net gain on extinguishment of debt — 10 Interest income 3 4 Interest expense (1) (1) Other expense, net — — Loss before income tax expense (benefit) (29) (26) Income tax expense (benefit) — — Net loss attributable to common stockholders (29) % (26) % __________ * Columns may not add up to 100% due to rounding.
At Fastly, we deliver an edge cloud platform capable of delivering fast, safe, and engaging digital experiences. By focusing holistically on edge cloud from developer inspiration to end-user experience, we have the opportunity to differentiate with our global footprint, dynamic infrastructure, and security solution.
At Fastly, we deliver an edge cloud platform capable of delivering fast, safe, and engaging digital experiences. By focusing holistically on the edge cloud from developer inspiration to end-user experience, we have the opportunity to differentiate with our global footprint, dynamic infrastructure, and security solution.
Over the long term we expect gross margin to increase as we continue to drive efficiencies in our operations and increase in revenue. However, our gross margin may fluctuate from period to period. Research and Development Research and development expenses consist primarily of personnel costs, including salaries, benefits, bonuses, and stock-based compensation.
Over the long term we expect gross margin to increase as we continue to drive efficiencies in our operations and increase our revenue. However, our gross margin may fluctuate from period to period. Research and Development Research and development expenses consist primarily of personnel costs, including salaries, benefits, bonuses, and stock-based compensation.
During times of war and other major conflicts, we, the third parties upon which we rely, and our customers may be vulnerable to a heightened risk of these attacks, including retaliatory cyber- 71 attacks, that could materially disrupt our systems and operations, supply chain, and ability to produce, sell and distribute our goods and services.
During times of war and other major conflicts, we, the third parties upon which we rely, and our customers may be vulnerable to a heightened risk of these attacks, including retaliatory cyber-attacks, that could materially disrupt our systems and operations, supply chain, and ability to produce, sell and distribute our goods and services.
The bandwidth we have contracted to purchase may become unavailable for a variety of reasons, including service outages, payment disputes, network providers 72 going out of business, natural disasters, networks imposing traffic limits, or governments adopting regulations that impact network operations.
The bandwidth we have contracted to purchase may become unavailable for a variety of reasons, including service outages, payment disputes, network providers going out of business, natural disasters, networks imposing traffic limits, or governments adopting regulations that impact network operations.
These teams work with technical and business leaders to help our customers’ end-users receive the best possible digital experience, while also lowering our customers’ total cost of ownership. These direct selling efforts are reflected by the revenue generated from our enterprise customers.
These teams work with technical and business leaders to help our customers’ end users receive the best possible digital experience, while also lowering our customers’ total cost of ownership. These direct selling efforts are reflected by the revenue generated by our enterprise customers.
However, our research and development expenses may fluctuate as a percentage of our revenue from period to period due to the timing and extent of these expenses. Sales and Marketing Sales and marketing expenses consist primarily of personnel costs, including commissions for our sales employees, salaries, benefits, bonuses, and stock-based compensation.
However, our research and development expenses may fluctuate as a percentage of our revenue from period to period due to the timing and extent of these expenses. 77 Sales and Marketing Sales and marketing expenses consist primarily of personnel costs, including commissions for our sales employees, salaries, benefits, bonuses, and stock-based compensation.
The main drivers of the changes in operating assets and liabilities were an increase in accounts receivable of $32.9 million, primarily due to an increase in revenue and the timing of cash receipts, an increase in other assets of $23.1 million related to deferred contract costs as well as $22.1 million of operating lease payments.
The main drivers of the changes in operating assets and liabilities were an increase in accounts receivable of 85 $32.9 million, primarily due to an increase in revenue and the timing of cash receipts, an increase in other assets of $23.1 million related to deferred contract costs as well as $22.1 million of operating lease payments.
Conversely, if we underestimate network capacity needs, we may in future periods be unable to meet demand and be required to incur higher costs to secure necessary parts and components of our servers.
Conversely, if we underestimate network 74 capacity needs, we may in future periods be unable to meet demand and be required to incur higher costs to secure necessary parts and components of our servers.
Our estimates of fair value are based on assumptions believed to be reasonable, but which are inherently uncertain and, as a result, actual results may 86 differ from estimates.
Our estimates of fair value are based on assumptions believed to be reasonable, but which are inherently uncertain and, as a result, actual results may differ from estimates.
If either conflict continues or worsens, leading to greater global economic disruptions and uncertainty, our business and results of operations could be materially impacted. Our customers operating in Russia, Ukraine, and Israel represented an immaterial portion of our consolidated revenue as of December 31, 2023 and 2022, respectively.
If either conflict continues or worsens, leading to greater global economic disruptions and uncertainty, our business and results of operations could be materially impacted. Our customers operating in Russia, Ukraine, and Israel represented an immaterial portion of our consolidated revenue as of December 31, 2024 and 2023, respectively.
This requires us to expand our sales and marketing capabilities outside of the United States, increase the number of markets we have a presence in around the world to support our customers, and manage the administrative aspects of a global organization, each of which place a strain on our business and culture.
This requires us to continue to expand our sales and marketing capabilities outside of the United States, increase the number of markets we have a presence in around the world to support our customers, and manage the administrative aspects of 73 a global organization, each of which place a strain on our business and culture.
Content streaming organizations leverage Fastly’s platform to deliver content 68 to users around the world and those that livestream gain easy access to enormous edge compute resources for even greater reliability. The range of applications that developers build with our edge cloud platform continues to expand rapidly.
Content streaming organizations leverage Fastly’s platform to deliver content 70 to users around the world and those that livestream gain easy access to enormous edge compute resources for even greater reliability. The range of applications that developers build with our edge cloud platform continues to expand rapidly.
During the year ended December 31, 2023, we entered into several separate, privately negotiated transactions with certain holders of the Notes to repurchase $367.3 million aggregate principal amount of the Notes for an aggregate repurchase price of $309.1 million and aggregate transaction costs of $2.0 million.
During the year ended December 31, 2023, we entered into several separate privately negotiated transactions with certain holders of the 2026 Notes to repurchase $367.3 million aggregate principal amount of the 2026 Notes for an aggregate cash repurchase price of $309.1 million and aggregate transaction costs of $2.0 million.
Cash Flows from Financing Activities For the year ended December 31, 2023, cash used in financing activities was $331.4 million, primarily consisting of $310.5 million used for the partial repurchase of our convertible debt, $27.2 million of finance lease liabilities repayments and $4.4 million in payments for deferred consideration for business acquisitions.
For the year ended December 31, 2023, cash used in financing activities was $331.4 million, primarily consisting of $310.5 million used for the partial repurchase of our convertible debt, $27.2 million of finance lease liabilities repayments and $4.4 million in payments for deferred consideration for business acquisitions.
For a discussion of the year ended December 31, 2022 compared to the year ended December 31, 2021, please refer to Part II, Item 7, “Management’s Discussion and Analysis of Financial Condition and Results of Operations” in our Annual Report on Form 10-K for the year ended December 31, 2022.
For a discussion of the year ended December 31, 2023 compared to the year ended December 31, 2022, please refer to Part II, Item 7, “Management’s Discussion and Analysis of Financial Condition and Results of Operations” in our Annual Report on Form 10-K for the year ended December 31, 2023.
Cash Flows from Investing Activities For the year ended December 31, 2023, cash provided by investing activities was $294.9 million, primarily consisting of $459.4 million of maturities and sales of marketable securities.
For the year ended December 31, 2023, cash provided by investing activities was $294.9 million, primarily consisting of $459.4 million of maturities and sales of marketable securities.
Sales and marketing expenses also include expenditures related to advertising, marketing, our brand awareness activities, bandwidth and co-location costs for free trial users, costs related to our customer conferences, including our Altitude conference, professional services fees, amortization of our intangible assets, and an allocation of our general overhead expenses.
Sales and marketing expenses also include expenditures related to advertising, marketing, our brand awareness activities, bandwidth and co-location costs for free trial users, costs related to our customer events, including our customer conferences, professional services fees, amortization of our intangible assets, and an allocation of our general overhead expenses.
This decrease was primarily due to the repurchases that occurred during the years ended December 31, 2022 and December 31, 2023 which reduced the principal amount of our notes.
This decrease was primarily due to the repurchases that occurred during the years ended December 31, 2023 and December 31, 2024, which reduced the principal amount of our notes.
Under the new methodology, our ARR rate is calculated by subtracting the quotient of the Annual Revenue Churn from all of our Churned Customers from which we recognized revenue during the last quarter of the prior year divided by our annual revenue of the same calendar year from 100%.
Our ARR rate is calculated by subtracting the quotient of the Annual Revenue Churn from all of our Churned Customers from which we recognized revenue during the last quarter of the prior year divided by our annual revenue of the same calendar year from 100%.
Recent Accounting Pronouncements Please refer to Note 2—Summary of Significant Accounting Policies included in the Notes to consolidated financial statements. 87
Recent Accounting Pronouncements Please refer to Note 2—Summary of Significant Accounting Policies included in the Notes to consolidated financial statements. 89
And because big ideas often start small, we love it when developers experiment and iterate on our platform, coming up with exciting new ways to solve today’s complex problems. For the years ended December 31, 2023 and 2022, our revenue was $506.0 million and $432.7 million, respectively, an increase of 17%.
And because big ideas often start small, we love it when developers experiment and iterate on our platform, coming up with exciting new ways to solve today’s complex problems. For the years ended December 31, 2024 and 2023, our revenue was $543.7 million and $506.0 million, respectively, an increase of 7%.
Customer accounts acquired in 2019, 2020, 2021, 2022 and 2023 are referred to as the 2019 Cohort, 2020 Cohort, 2021 Cohort, 2022 Cohort and 2023 Cohort, respectively.
Customer accounts acquired in 2020, 2021, 2022, 2023 and 2024 are referred to as the 2020 Cohort, 2021 Cohort, 2022 Cohort, 2023 Cohort, and 2024 Cohort, respectively.
While the conflicts are still evolving and the outcomes remain highly uncertain, we do not believe the Russia-Ukraine or Israel-Hamas conflicts will have a material impact on our business and results of operations. We do not have POPs or operations in Russia, Ukraine, or Israel.
While the conflicts are still evolving and the outcomes remain highly uncertain, we do not believe the Russia-Ukraine or Israel-Hamas conflicts will have a material impact on our business and results of operations. We do not have Points of Presence (“POPs”) in Russia, Ukraine, or Israel.
For the years ended December 31, 2023 and 2022, our research and development expenses as a percentage of revenue were 30% and 36%, respectively. Our research and development expenses each period is impacted by the amount of software development costs that meet the criteria for capitalization.
For the years ended December 31, 2024 and 2023, our research and development expenses as a percentage of revenue were 25% and 30%, respectively. Our research and development expenses each period is impacted by the amount of software development costs that meet the criteria for capitalization.
For the trailing twelve months ended December 31, 2023 and 2022 our LTM NRR was 113.4% and 119.1%, respectively. Remaining Performance Obligations (“RPO”) RPO represent future committed revenue for periods within current contracts with customers, as well as deferred revenue arising from consideration invoiced for which the related performance obligations have not been satisfied.
For the trailing twelve months ended December 31, 2024 and 2023 our LTM NRR was 102.3% and 113.4%, respectively. Remaining Performance Obligations (“RPO”) RPO represent future committed revenue for periods within current contracts with customers, as well as deferred revenue arising from consideration invoiced for which the related performance obligations have not been satisfied.
However, our general and administrative expenses may fluctuate as a percentage of our revenue from period to period due to the timing and extent of these expenses.
However, our cost of revenue may fluctuate as a percentage of our revenue from period to period due to the timing and extent of these expenses.
This is calculated by taking the revenue we recognized for each customer in the current quarter and multiplying it by four. As of December 31, 2023, we had 578 of such enterprise customers which generated 92% of the total annualized current quarter revenue for our total customers for the period ended December 31, 2023.
This is calculated by taking the revenue we recognized for each customer in the current quarter and multiplying it by four. As of December 31, 2024, we had 596 of such enterprise customers which generated 93% of the total annualized current quarter revenue for our total customers for the period ended December 31, 2024.
The Company continues to maintain a full valuation allowance in the U.S. and the tax expense (benefit) for the periods were primarily due to foreign tax expense. 82 Liquidity and Capital Resources As of December 31, 2023, we had cash, cash equivalents, and marketable securities totaling $328.8 million.
The Company continues to maintain a full valuation allowance in the U.S. and the tax expense (benefit) for the periods were primarily due to foreign tax expense. Liquidity and Capital Resources As of December 31, 2024, we had cash, cash equivalents, and marketable securities totaling $295.9 million.
We calculate the Compound Annual Growth Rate (“CAGR”), which represents the rate of revenue return of our revenue cohorts, over a five year history from when they were first customers. 69 Summary of Revenue Generated by Customer Cohorts Over Time (in millions): Our 2019 Cohort increased its revenue 5.5 times in fiscal 2021 and has grown at approximately a 88% CAGR over the next four years from fiscal 2020 to fiscal 2023.
We calculate the Compound Annual Growth Rate (“CAGR”), which represents the rate of revenue return of our revenue cohorts, over a five year history from when they were first customers. 71 Summary of Revenue Generated by Customer Cohorts Over Time (in millions): Our 2020 Cohort increased its revenue 2.4 times in fiscal 2021 and has grown at approximately a 27% CAGR over the next four years from fiscal 2021 to fiscal 2024.
Our Dollar-Based Net Expansion Rate (“DBNER”), Net Retention Rate (“NRR”) and Last-Twelve Months Net Retention Rate (“LTM NRR”) metrics also measure the revenue growth from existing customers attributable to increased usage of our platform and features, and purchase of additional products and services. For additional details on our key metrics, refer to the “Key Business Metrics” section.
Our Last-Twelve Months Net Retention Rate (“LTM NRR”) metric also measures the revenue growth from existing customers attributable to increased usage of our platform and features, and purchase of additional products and services. For additional details on our key metrics, refer to the “Key Business Metrics” section.
However, our cost of revenue may fluctuate as a percentage of our revenue from period to period due to the timing and extent of these expenses. 76 Our gross margin has been and will continue to be affected by a number of factors, including utilization of our network, the timing of our investments in the expansion of our network, which can increase depreciation and colocation costs in advance of expected demand, our ability to manage our network service providers and cloud infrastructure-related fees, the timing of amortization of capitalized software development costs, changes in personnel costs to provide customer support and operate the network, and customer pricing.
Our gross margin has been and will continue to be affected by a number of factors, including utilization of our network, the timing of our investments in the expansion of our network, which can increase depreciation and colocation costs in advance of expected demand, our ability to manage our network service providers and cloud infrastructure-related fees, the timing of amortization of capitalized software development costs, changes in personnel costs to provide customer support and operate the network, and customer pricing.
The increase in cost of revenue is a result of an increase in bandwidth costs of $10.1 million, $7.9 million increase in depreciation expense as a result of increased investments in our platform as well as an increase in repair and maintenance cost of $1.2 million.
The increase in cost of revenue is a result of an increase in bandwidth costs of $6.3 million, a $2.4 million increase in depreciation expense as a result of increased investments in our platform as well as an increase in repair and maintenance cost of $1.8 million.
The preparation of our consolidated financial statements requires us to make estimates, judgments, and assumptions that affect the reported amounts of assets, liabilities, revenue, costs, expenses, and related disclosures. Actual results and outcomes could differ significantly from our estimates, judgments, and assumptions.
Critical Accounting Estimates We prepare our consolidated financial statements in accordance with U.S. GAAP. The preparation of our consolidated financial statements requires us to make estimates, judgments, and assumptions that affect the reported amounts of assets, liabilities, revenue, costs, expenses, and related disclosures. Actual results and outcomes could differ significantly from our estimates, judgments, and assumptions.
Sales and marketing Sales and marketing expenses were $191.8 million for the year ended December 31, 2023 compared to $179.9 million for the year ended December 31, 2022, an increase of $11.9 million, or 7%. This increase was primarily due to a $15.0 million increase in personnel related costs, such as salaries, sales commissions, and benefits.
Sales and marketing Sales and marketing expenses were $198.6 million for the year ended December 31, 2024 compared to $191.8 million for the year ended December 31, 2023, an increase of $6.8 million, or 4%. This increase was primarily due to a $14.4 million increase in personnel related costs, such as salaries, sales commissions and benefits.
Income Taxes Our income tax expense (benefit) consists primarily of income taxes in certain foreign jurisdictions where we conduct business. The Company currently maintains a full valuation allowance on the Company’s U.S. Federal and state net deferred tax assets. We expect to maintain this valuation allowance for the foreseeable future.
Income Taxes Our income tax expense (benefit) consists primarily of income taxes in certain foreign jurisdictions where we conduct business and state minimum income taxes in the United States. We currently maintain a full valuation allowance on our U.S. Federal and state net deferred tax assets.
Gross margin was 53% for the year ended December 31, 2023 compared to 48% for the year ended December 31, 2022, an increase of 5%.
Gross margin was 54% for the year ended December 31, 2024 compared to 53% for the year ended December 31, 2023, an increase of 2%.
International revenue was $135.6 million and 27% of revenue for the year ended December 31, 2023, compared to $116.6 million and 27% of revenue for the year ended December 31, 2022. This represents an increase of $19.0 million, or 16%.
International revenue was $136.4 million and 25% of revenue for the year ended December 31, 2024, compared to $135.6 million and 27% of revenue for the year ended December 31, 2023. This represents an increase of $0.8 million, or 1%.
Cash Flows The following table summarizes our cash flows for the period indicated: Year ended December 31, 2023 2022 2021 (in thousands) Net cash (used in) provided by operating activities $ 362 $ (69,632) $ (38,482) Net cash (used in) provided by investing activities 294,940 235,751 (794,511) Net cash (used in) provided by financing activities (331,380) (189,149) 936,551 Cash Flows from Operating Activities For the year ended December 31, 2023, cash provided by operating activities consisted primarily of our net loss of $133.1 million, adjusted for non-cash items of $203.3 million, and net cash flows used in operating assets and liabilities of $69.9 million.
Cash Flows The following table summarizes our cash flows for the period indicated: Year ended December 31, 2024 2023 2022 (in thousands) Net cash (used in) provided by operating activities $ 16,406 $ 362 $ (69,632) Net cash provided by investing activities $ 178,900 $ 294,940 $ 235,751 Net cash used in financing activities $ (17,099) $ (331,380) $ (189,149) Cash Flows from Operating Activities For the year ended December 31, 2024, cash provided by operating activities consisted primarily of our net loss of $158.1 million, adjusted for non-cash items of $228.6 million, and net cash flows used in operating assets and liabilities of $54.1 million.
As of December 31, 2023, we were in compliance with these covenants and we expect to continue to be in compliance for at least the next 12 months.
As of December 31, 2024, we were in compliance with these covenants and we expect to continue to be in compliance for at least the next 12 months. During the year ended December 31, 2024 and 2023, no amounts were drawn down on the Credit Agreement.
Other income (expense), net Year ended December 31, Change 2023 2022 $ Change % Change (in thousands) Other expense, net $ (1,832) $ (29) $ (1,803) 6,217 % Other expense, net was $1.8 million for the year ended December 31, 2023 compared to other expense, net, of less than $0.1 million for the year ended December 31, 2022, a decrease of $1.8 million, or 6217%.
Other income (expense), net Year ended December 31, Change 2024 2023 $ Change % Change (in thousands) Other expense, net $ 1,028 $ 1,832 $ (804) (44) % Other expense, net was $1.0 million for the year ended December 31, 2024 compared to $1.8 million for the year ended December 31, 2023, a decrease of $0.8 million, or 44%.
On February 16, 2024, we entered into the Second Amendment to Credit Agreement with the Lenders and Silicon Valley Bank, a division of First-Citizens Bank & Trust Company, as a lender and as administrative agent and collateral agent for the Lenders, which, among other things, extended the maturity date of the loans under the Credit Agreement to June 14, 2024.
On February 16, 2024, we entered into the Second Amendment to Credit Agreement with the Lenders and SVB First-Citizens, which, among other things, extended the maturity date of the loans under the Credit Agreement to June 14, 2024.
(3) Operating lease obligations represent total future minimum rent payments under non-cancelable operating lease agreements, such as our facilities and colocation (i.e. data center) leases. (4) Finance lease obligations represents principal and interest payments under our networking equipment leases. (5) Debt obligation aggregate principal amount of our 0% convertible senior notes due on March 15, 2026.
(3) Operating lease obligations represent total future minimum rent payments under non-cancelable operating lease agreements, such as our facilities and colocation (i.e. data center) leases. (4) Finance lease obligations represents principal and interest payments under our networking equipment leases.
Results of Operations In this section, we discuss the results of our operations for the year ended December 31, 2023 compared to the year ended December 31, 2022.
We expect to maintain this valuation allowance for the foreseeable future. 78 Results of Operations In this section, we discuss the results of our operations for the year ended December 31, 2024 compared to the year ended December 31, 2023.
Key Components of Statement of Operations Revenue We derive our revenue primarily from usage-based fees earned from customers using our platform. We also earn fixed-rate recurring revenue from security and other products and services. Our usage-based fees earned from customers using our platform are generally billed in arrears. Our security products are primarily annual subscriptions that are billed in advance.
We also earn fixed-rate recurring revenue from security and other products and services. Our usage-based fees earned from customers using our platform are generally billed in arrears. Our security products are primarily annual subscriptions that are billed in advance. Many customers have tiered usage pricing which reflects discounted rates as usage increases.
The proportion of the revenue contribution between new and existing customers is consistent with prior periods and typical customer behavior as customers tend to contribute more revenue over time as their use of the platform increases. The remainder of our revenue was generated by our other products and services, including support and professional services.
Revenue was primarily from existing customers, as revenue from new customers contributed less than 10% of our revenue. The proportion of the revenue contribution between new and existing customers is consistent with prior periods and typical customer behavior as customers tend to contribute more revenue over time as their use of the platform 80 increases.
We focus our direct selling efforts on expanding our customer’s use of our platform, which includes companies that are exhibiting significant growth. We engage with and support these customers with our field sales representatives, account managers, and technical account managers who focus on customer satisfaction and drive expansion of their usage of our platform and products.
We engage with and support these customers with our field sales representatives, account managers, and technical account managers who focus on customer satisfaction and drive expansion of their usage of our platform and products.
International Expansion We intend to continue expanding our efforts to attract customers outside of the United States by augmenting our sales teams and strategically increasing our presence in the number of markets in select international locations.
We do not know whether or how ByteDance might restructure its business and how that may impact our traffic levels. International Expansion We intend to continue expanding our efforts to attract customers outside of the United States by augmenting our sales teams and strategically increasing our presence in the number of markets in select international locations.
Cost of Revenue Year ended December 31, Change 2023 2022 $ Change % Change (in thousands) Cost of revenue $ 239,660 $ 222,944 $ 16,716 7 % Cost of revenue was $239.7 million for the year ended December 31, 2023 compared to $222.9 million for the year ended December 31, 2022, an increase of $16.7 million, or 7%.
Cost of Revenue Year ended December 31, Change 2024 2023 $ Change % Change (in thousands) Cost of revenue $ 247,738 $ 239,660 $ 8,078 3 % Cost of revenue was $247.7 million for the year ended December 31, 2024 compared to $239.7 million for the year ended December 31, 2023, an increase of $8.1 million, or 3%.
Interest expense Year ended December 31, Change 2023 2022 $ Change % Change (in thousands) Interest expense $ (4,051) $ (5,887) $ 1,836 (31) % Interest expense was $4.1 million for the year ended December 31, 2023 compared to $5.9 million for the year ended December 31, 2022, a decrease of $1.8 million, or 31%.
Interest expense Year ended December 31, Change 2024 2023 $ Change % Change (in thousands) Interest expense $ 2,747 $ 4,051 $ (1,304) (32) % Interest expense was $2.7 million for the year ended December 31, 2024 compared to $4.1 million for the year ended December 31, 2023, a decrease of $1.3 million, or 32%.
In instances where SSP is not directly observable, such as when we do not sell the product or service separately, we determine the SSP using information that may include market conditions and other observable inputs. We typically have more than one SSP for individual products and services due to the stratification of those products and services by customers and circumstances.
In instances where SSP is not directly observable, such as when we do not sell the product or service separately, we determine the SSP using information that may include market conditions and other observable inputs.
Senior Secured Credit Facilities Agreement On February 16, 2021, we entered into a Senior Secured Credit Facilities Agreement (“Credit Agreement”) with the lenders from time to time party thereto (the “Lenders”) and Silicon Valley Bank, as a lender and as administrative agent and collateral agent for the Lenders for an aggregate commitment amount of $100.0 million, with a maturity date of February 16, 2024.
Senior Secured Credit Facilities Agreement On February 16, 2021, we entered into a Senior Secured Credit Facilities Agreement (as amended by that certain First Amendment to Credit Agreement, the “Credit Agreement”) with the lenders from time to time party thereto (the “Lenders”) and Silicon Valley Bank, a division of First-Citizens Bank & Trust Company, as administrative agent, issuing lender and swingline lender (“SVB First-Citizens”), which provides for a $100.0 million senior secured revolving credit facility , with a maturity date of February 16, 2024.
In these instances, we may use information, such as geographic region and distribution channel, in determining the SSP. Stock-based Compensation Fair Value determination We recognize compensation expense related to stock options based on the fair value of stock-based awards on the date of grant. We determine the grant date fair value of the awards using the Black-Scholes option-pricing model.
Stock-based Compensation Fair Value determination We recognize compensation expense related to stock options based on the fair value of stock-based awards on the date of grant. We determine the grant date fair value of the awards using the Black-Scholes option-pricing model.
General and administrative expenses also include costs related to legal and other professional services fees, SaaS costs, an allocation of our general overhead expenses, credit losses and acquisition-related costs. Our general and administrative expenses also include sales and other tax expenses to which we are subject to based on the manner in which we sell and deliver our products.
General and administrative expenses also include costs related to legal and other professional services fees, SaaS costs, an allocation of our general overhead expenses, credit losses and acquisition-related costs.
Loans based on SOFR bear interest at a rate per annum equal to SOFR, plus an adjustment of 0.10%, plus 1.75% to 2.00%, depending on the average daily outstanding balance of all loans and letters of credit under the Credit Agreement.
Loans under the Credit Agreement bear interest at a rate per annum equal to at our option, the ABR (as defined in the Credit Agreement) or the Adjusted Term SOFR (as defined in the Credit Agreement), in each case, plus a margin based on the average daily outstanding balance of all loans and letters of credit under the Credit Agreement and ranging from 0.75% to 1.00%, in the case of loans bearing interest at ABR, and 1.75% to 2.00%, in the case of loans bearing interest at Adjusted Term SOFR..
This was offset by $132.2 million in purchases of marketable securities, $21.3 million of additions to capitalized internal-use software, and $11.0 million of payments related to purchases of property and equipment to expand our network. 84 For the year ended December 31, 2022, cash provided by investing activities was $235.8 million, primarily consisting of $697.0 million of maturities and sales of marketable securities.
This was offset by $132.2 million in purchases of marketable securities, $21.3 million of additions to capitalized internal-use software, and $11.0 million of payments related to purchases of property and equipment to expand our network.
This decrease was partially offset by a $6.9 million increase in stock-based compensation expenses primarily due to new awards granted, a $3.1 million increase in personnel related costs, as well as a $1.1 million increase in travel and entertainment expenses.
There was also a $1.2 million increase in colocation costs, and a $1.1 million increase in personnel-related costs due to an increase in headcount. This increase was partially offset by a decrease of $3.0 million in stock-based compensation expenses, a decrease of $1.3 million in software costs and a $0.6 million decrease in travel and entertainment expenses.
Total Customer Count We believe that our total number of customers is an important indicator of the adoption of our platform. Our definition of a customer consists of identifiable operating entities with which we have a billing relationship in good standing and which we have recognized revenue from.
Our definition of a customer consists of identifiable operating entities with which we have a billing relationship in good standing and which we have recognized revenue from during the reporting period.
During the year ended December 31, 2023 and 2022, no amounts were drawn down on the Credit Agreement. 83 Convertible Senior Notes In March 2021, we issued $948.8 million aggregate principal amount of 0% convertible senior unsecured notes due in 2026 (the “Notes”) in a private placement to qualified institutional buyers pursuant to Rule144A under the Securities Act.
Convertible Senior Notes In March 2021, we issued approximately $948.8 million aggregate principal amount of 0% convertible senior unsecured notes due in 2026 (the “2026 Notes”) in a private placement to qualified institutional buyers pursuant to Rule144A under the Securities Act.
We have in the past needed to, and may need to continue to, write-down or write-off server assets if we have server asset levels in excess of forecasted network capacity needs. For example, in the year ended December 31, 2023, we recognized computer and networking equipment related write-off charges of $4.3 million.
If we have server asset levels in excess of forecasted network capacity needs, we have in the past and may need to continue to write-down or write-off server assets.
We will continue to invest in our products and features and developer outreach, leveraging it as a cost-efficient approach to attracting new customers, and our sales and marketing programs, including various online marketing activities as well as targeted account-based marketing. 70 We are continuing to bring a durable, consistent, and predictable pipeline of new innovations to our edge cloud platform and software-defined modern network architecture, and are seeing interest from customers in our existing product lines like Network Services and Security, and newer product lines like Compute and Observability.
We are continuing to bring a durable, consistent, and predictable pipeline of new innovations to our edge cloud platform and software-defined modern network architecture, and are seeing interest from customers in our existing product lines like Network Services and Security, and newer product lines like Compute and Observability.
This decrease was partially offset by an increase of $10.4 million of personnel-related costs, such as salaries and benefits due to an increase in headcount as well as a $2.8 million increase in costs associated with the transition and separation of a former executive.
This decrease was partially offset by an increase of $5.8 million of personnel-related costs, such as salaries and benefits as well as a $1.5 million increase in software costs.
For the year ended December 31, 2021, cash used in operating activities consisted primarily of our net loss of $222.7 million adjusted for non-cash items of $227.3 million.
For the year ended December 31, 2023, cash provided by operating activities consisted primarily of our net loss of $133.1 million, adjusted for non-cash items of $203.3 million, and net cash flows used in operating assets and liabilities of $69.9 million.
Gross Profit and Gross Margin Year ended December 31, Change 2023 2022 $ Change % Change (in thousands) Gross profit $ 266,328 $ 209,781 $ 56,547 27 % Gross margin 53 % 48 % 5 % Gross profit was $266.3 million for the year ended December 31, 2023 compared to $209.8 million for the year ended December 31, 2022, an increase of $56.5 million, or 27%.
Gross Profit and Gross Margin Year ended December 31, Change 2024 2023 $ Change % Change (in thousands) Gross profit $ 295,938 $ 266,328 $ 29,610 11 % Gross margin 54 % 53 % 2 % Gross profit was $295.9 million for the year ended December 31, 2024 compared to $266.3 million for the year ended December 31, 2023, an increase of $29.6 million, or 11%.
There were no such impairment charges recognized during the year ended December 31, 2022. 81 Net Gain on Extinguishment of Debt Year ended December 31, Change 2023 2022 $ Change % Change (in thousands) Net gain on extinguishment of debt $ 52,416 $ 54,391 $ (1,975) (4) % Net gain on extinguishment of debt was $52.4 million for the year ended December 31, 2023 compared to $54.4 million for the year ended December 31, 2022, a decrease of $2.0 million, or 4%.
Net Gain on Extinguishment of Debt Year ended December 31, Change 2024 2023 $ Change % Change (in thousands) Net gain on extinguishment of debt $ 1,365 $ 52,416 $ (51,051) (97) % Net gain on extinguishment of debt was $1.4 million for the year ended December 31, 2024 compared to $52.4 million for the year ended December 31, 2023, a decrease of $51.1 million, or 97%.
Other Income and Expense Interest income Year ended December 31, Change 2023 2022 $ Change % Change (in thousands) Interest income $ 18,186 $ 7,044 $ 11,142 158 % Interest income was $18.2 million for the year ended December 31, 2023 compared to $7.0 million for the year ended December 31, 2022, an increase of $11.1 million, or 158%.
Other Income and Expense Interest income Year ended December 31, Change 2024 2023 $ Change % Change (in thousands) Interest income $ 14,871 $ 18,186 $ (3,315) (18) % Interest income was $14.9 million for the year ended December 31, 2024 compared to $18.2 million for the year ended December 31, 2023, a decrease of $3.3 million, or 18%.
This was partially offset by $4.8 million in proceeds from the ESPP and $5.7 million in proceeds from stock option exercises by our employees and directors.
This was partially offset by $6.2 million in proceeds from the employee stock purchase plan ( “ ESPP”) and $1.1 million in proceeds from stock option exercises by our employees and directors.
Our revenue growth during the year ended December 31, 2023 outpaced the increases in the costs incurred to support the growth of our network. 80 Operating Expenses Year ended December 31, Change 2023 2022 $ Change % Change (in thousands) Research and development $ 152,190 $ 155,308 $ (3,118) (2) % Sales and marketing 191,773 179,869 $ 11,904 7 % General and administrative 116,077 120,803 $ (4,726) (4) % Impairment expense 4,316 — $ 4,316 100 % Total operating expenses $ 464,356 $ 455,980 $ 8,376 2 % Percentage of revenue: Research and development 30 % 36 % (6) % Sales and marketing 38 % 42 % (4) % General and administrative 23 % 28 % (5) % Impairment expense 1 % — % 1 % Research and development Research and development expenses were $152.2 million for the year ended December 31, 2023 compared to $155.3 million for the year ended December 31, 2022, a decrease of $3.1 million, or 2%.
The increase in gross margin was driven by revenue growth during the year ended December 31, 2024 outpacing the increases in the costs incurred to support the growth of our network. 81 Operating Expenses Year ended December 31, Change 2024 2023 $ Change % Change (in thousands) Research and development $ 137,980 $ 152,190 $ (14,210) (9) % Sales and marketing 198,610 191,773 6,837 4 % General and administrative 113,399 116,077 (2,678) (2) % Impairment expense 4,144 4,316 (172) (4) % Restructuring charges 9,720 — 9,720 100 % Total operating expenses $ 463,853 $ 464,356 $ (503) — % Percentage of revenue: Research and development 25 % 30 % (5) % Sales and marketing 36 % 38 % (2) % General and administrative 21 % 23 % (2) % Impairment expense 1 % 1 % — % Restructuring charges 2 % — % 2 % Research and development Research and development expenses were $138.0 million for the year ended December 31, 2024 compared to $152.2 million for the year ended December 31, 2023, a decrease of $14.2 million, or 9%.
Our 10 largest customers generated an aggregate of 37% and 35% of our revenue in the trailing 12 months ended December 31, 2023 and 2022, respectively. No customer accounted for more than 10% of revenue for the years ended December 31, 2023 and 2022.
We incurred a net loss of $158.1 million and $133.1 million in the years ended December 31, 2024 and 2023, respectively. Our 10 largest customers generated an aggregate of 33% and 37% of our revenue in the trailing 12 months ended December 31, 2024 and 2023, respectively.
As of December 31, 2022, we had 533 of such enterprise customers which generated 92% of the total annualized current quarter revenue for our total customers for the period ended December 31, 2022. Average Enterprise Customer Spend Our enterprise customers continue to leverage our platform, increasing their spend on our platform and driving our revenue growth year over year.
As of December 31, 2023, we had 578 of such enterprise customers which generated 92% of the total annualized current quarter revenue for our total customers for the period ended December 31, 2023.
General and administrative General and administrative costs were $116.1 million for the year ended December 31, 2023 compared to $120.8 million for the year ended December 31, 2022, a decrease of $4.7 million, or 4%.
General and administrative General and administrative costs were $113.4 million for the year ended December 31, 2024 compared to $116.1 million for the year ended December 31, 2023, a decrease of $2.7 million, or 2%. The decrease was primarily due a $6.5 million decrease in stock-based compensation expenses as well as a $1.6 million decrease in professional fees.
Many customers have tiered usage pricing which reflects discounted rates as usage increases. For most contracts, usage charges are determined on a monthly basis based on actual usage within the month and do not impact usage charges within any other month.
For most contracts, usage charges are determined on a monthly basis based on actual usage within the month and do not impact usage charges within any other month. Our larger customers often enter into contracts that contain minimum billing commitments and reflect discounted pricing associated with such usage levels.
In addition to our paying customers, we also have trial, developer, nonprofit and open source programs, and other non-paying accounts that are excluded from our customer count metric. We operate globally and as a result, the success of our ability to retain our customers is also affected by general economic and market conditions around the world.
Due to the immateriality, we have not revised prior periods. 75 In addition to our paying customers, we also have trial, developer, nonprofit and open source programs, and other non-paying accounts that are excluded from our customer count metric.
The increase was also due to a $4.4 million increase in marketing spend associated with brand campaign and advertising, as well as $1.0 million increase in travel and entertainment expenses. The increase was partially offset by a $5.4 million decrease in stock-based compensation expenses primarily due to restricted stock awards that fully vested in 2022.
The increase was partially offset by a $4.6 million decrease in stock-based compensation expenses, a $4.4 million decrease in marketing expenses, a $0.8 million decrease in amortization expense as well as a $0.6 million decrease in travel and entertainment expenses.
Our larger customers often enter into contracts that contain minimum billing commitments and reflect discounted pricing associated with such usage levels. We define United States revenue as revenue from customers that have a billing address in the United States, and we define international revenue as revenue from customers that have a billing address outside of the United States.
We define United States revenue (“U.S. revenue”) as revenue from customers that have a billing address in the United States, and we define international revenue as revenue from customers that have a billing address outside of the United States.
This represents an increase of 181, or 6% in customers and 45, or 8%, in enterprise customers from December 31, 2022. U.S. revenue was $370.4 million and 73% of revenue for the year ended December 31, 2023, and $316.1 million and 73% of revenue for the year ended December 31, 2022. This represents an increase of $54.3 million, or 17%.
The increase in Other revenue was primarily driven by further adoption of Compute solutions. U.S. revenue was $407.3 million and 75% of revenue for the year ended December 31, 2024, and $370.4 million and 73% of revenue for the year ended December 31, 2023. This represents an increase of $36.9 million, or 10%.
Income Taxes Year ended December 31, Change 2023 2022 $ Change % Change (in thousands) Income tax expense (benefit) $ (221) $ 94 $ (315) (335) % Income tax benefit was $0.2 million for the year ended December 31, 2023 and income tax expense of $0.1 million for the year ended December 31, 2022.
The decrease was mainly driven by our foreign currency transaction gains between the periods. 83 Income Taxes Year ended December 31, Change 2024 2023 $ Change % Change (in thousands) Income tax expense (benefit) $ 2,604 $ (221) $ 2,825 1,278 % Income tax expense was $2.6 million for the year ended December 31, 2024 compared to income tax benefit of $0.2 million for the year ended December 31, 2023.
Affiliated customers that are business units of a single company in the streaming entertainment space generated an aggregate of 12% and 11% of the Company ’ s revenue for the years ended December 31, 2023 and 2022, respectively. We incurred a net loss of $133.1 million and $190.8 million in the years ended December 31, 2023 and 2022, respectively.
Affiliated customers that are business units of a single company in the streaming entertainment space generated an aggregate of 12% of the Company’s revenue for the year ended December 31, 2023. We focus our direct selling efforts on expanding our customers ’ use of our platform, which includes companies that are exhibiting significant growth.
This decrease was primarily due to a decrease of $12.9 million in stock-based compensation expense primarily related to restricted stock awards that fully vested in 2022. The decrease was also due to a $3.1 million increase in capitalized software from headcount growth as well as a $1.6 million decrease in professional fees related to temporary agency costs.
This decrease was primarily due to a decrease of $12.2 million in stock-based compensation expense, a $6.0 million increase in capitalized software costs, a $2.8 million decrease in executive transition costs, as well as a $0.5 million decrease in colocation costs.
Revenue growth was driven by a $58.1 million increase in revenue related to further adoption of our modern edge platform and products, as well as a $14.7 million increase in revenue related to products acquired from the acquisition of Signal Sciences.
Revenue growth was driven by a $24.9 million increase in revenue related to further adoption of our modern edge platform and products. For the years ended December 31, 2024 and 2023, approximately 95% and 95% of our revenue was driven by usage on our platform, respectively.