Biggest changeNon‑GAAP Gross Profit and Non‑GAAP Gross Margin For the periods presented, we define non‑GAAP gross profit and non‑GAAP gross margin as GAAP gross profit and GAAP gross margin, respectively, adjusted to exclude, as applicable, certain expenses as presented in the table below: Year Ended December 31, 2023 2022 2021 Reconciliation: (In thousands) GAAP gross profit $ 2,043,930 $ 1,813,577 $ 1,390,713 GAAP gross margin 49 % 47 % 49 % Non-GAAP adjustments: Stock-based compensation 26,343 21,136 14,074 Amortization of acquired intangibles 113,266 122,653 114,896 Payroll taxes related to stock-based compensation 699 539 — Non-GAAP gross profit $ 2,184,238 $ 1,957,905 $ 1,519,683 Non-GAAP gross margin 53 % 51 % 53 % Non‑GAAP Operating Expenses For the periods presented, we define non‑GAAP operating expenses (including categories of operating expenses) as GAAP operating expenses (and categories of operating expenses) adjusted to exclude, as applicable, certain expenses as presented in the table below: Year Ended December 31, 2023 2022 2021 Reconciliation: (In thousands) GAAP operating expenses $ 2,920,471 $ 3,018,885 $ 2,306,297 Non-GAAP adjustments: Stock-based compensation (636,499) (763,149) (618,211) Amortization of acquired intangibles (79,041) (83,528) (83,888) Acquisition and divestiture related expenses (5,555) (2,621) (7,449) Loss on net assets divested (32,277) — — Payroll taxes related to stock-based compensation (12,286) (23,293) (48,417) Charitable contributions (17,346) (9,541) (31,169) Restructuring costs (165,733) (76,636) — Impairment of long-lived assets (320,504) (97,722) — Non-GAAP operating expenses $ 1,651,230 $ 1,962,395 $ 1,517,163 57 Table of Contents Non‑GAAP Income (Loss) from Operations and Non‑GAAP Operating Margin For the periods presented, we define non‑GAAP income (loss) from operations and non‑GAAP operating margin as GAAP income (loss) from operations and GAAP operating margin, respectively, adjusted to exclude, as applicable, certain expenses as presented in the table below: Year Ended December 31, 2023 2022 2021 Reconciliation: (In thousands) GAAP loss from operations $ (876,541) $ (1,205,308) $ (915,584) GAAP operating margin (21) % (32) % (32) % Non-GAAP adjustments: Stock-based compensation 662,842 784,285 632,285 Amortization of acquired intangibles 192,307 206,181 198,784 Acquisition and divestiture related expenses 5,555 2,621 7,449 Loss on net assets divested 32,277 — — Payroll taxes related to stock-based compensation 12,985 23,832 48,417 Charitable contributions 17,346 9,541 31,169 Restructuring costs 165,733 76,636 — Impairment of long-lived assets 320,504 97,722 — Non-GAAP income (loss) from operations $ 533,008 $ (4,490) $ 2,520 Non-GAAP operating margin 13 % — % — % 58 Table of Contents Results of Operations The following table sets forth our results of operations for the periods presented.
Biggest changeNon‑GAAP Gross Profit and Non‑GAAP Gross Margin For the periods presented, we define non‑GAAP gross profit and non‑GAAP gross margin as GAAP gross profit and GAAP gross margin, respectively, adjusted to exclude, as applicable, certain expenses as presented in the table below: Year Ended December 31, 2024 2023 2022 Reconciliation: (In thousands) GAAP gross profit $ 2,278,212 $ 2,043,930 $ 1,813,577 GAAP gross margin 51 % 49 % 47 % Non-GAAP adjustments: Stock-based compensation 22,001 26,343 21,136 Amortization of acquired intangibles 62,728 113,266 122,653 Payroll taxes related to stock-based compensation 1,133 699 539 Non-GAAP gross profit $ 2,364,074 $ 2,184,238 $ 1,957,905 Non-GAAP gross margin 53 % 53 % 51 % 54 Table of Contents Non‑GAAP Operating Expenses For the periods presented, we define non‑GAAP operating expenses (including categories of operating expenses) as GAAP operating expenses (and categories of operating expenses) adjusted to exclude, as applicable, certain expenses as presented in the table below: Year Ended December 31, 2024 2023 2022 Reconciliation: (In thousands) GAAP operating expenses $ 2,331,920 $ 2,920,471 $ 3,018,885 Non-GAAP adjustments: Stock-based compensation (591,428) (636,499) (763,149) Amortization of acquired intangibles (49,123) (79,041) (83,528) Acquisition and divestiture related expenses — (5,555) (2,621) Loss on net assets divested — (32,277) — Payroll taxes related to stock-based compensation (8,509) (12,286) (23,293) Charitable contributions (19,907) (17,346) (9,541) Restructuring costs (13,273) (165,733) (76,636) Impairment of long-lived assets — (320,504) (97,722) Non-GAAP operating expenses $ 1,649,680 $ 1,651,230 $ 1,962,395 Non‑GAAP Income (Loss) from Operations and Non‑GAAP Operating Margin For the periods presented, we define non‑GAAP income (loss) from operations and non‑GAAP operating margin as GAAP loss from operations and GAAP operating margin, respectively, adjusted to exclude, as applicable, certain expenses as presented in the table below: Year Ended December 31, 2024 2023 2022 Reconciliation: (In thousands) GAAP loss from operations $ (53,708) $ (876,541) $ (1,205,308) GAAP operating margin (1) % (21) % (32) % Non-GAAP adjustments: Stock-based compensation 613,429 662,842 784,285 Amortization of acquired intangibles 111,851 192,307 206,181 Acquisition and divestiture related expenses — 5,555 2,621 Loss on net assets divested — 32,277 — Payroll taxes related to stock-based compensation 9,642 12,985 23,832 Charitable contributions 19,907 17,346 9,541 Restructuring costs 13,273 165,733 76,636 Impairment of long-lived assets — 320,504 97,722 Non-GAAP income (loss) from operations $ 714,394 $ 533,008 $ (4,490) Non-GAAP operating margin 16 % 13 % — % 55 Table of Contents Free Cash Flow and Free Cash Flow Margin For the periods presented, we define free cash flow as net cash provided by (used in) operating activities less capitalized software development costs and purchases of long-lived and intangible assets, and we define free cash flow margin as free cash flow divided by revenue, as presented in the table below: Year Ended December 31, 2024 2023 2022 Reconciliation: (In thousands) Net cash provided by (used in) operating activities $ 716,241 $ 414,752 $ (254,368) Operating cash flow margin 16 % 10 % (7) % Non-GAAP adjustments: Capitalized software development costs (51,808) (39,925) (45,761) Purchases of long-lived and intangible assets (6,978) (11,310) (34,421) Free cash flow $ 657,455 $ 363,517 $ (334,550) Free cash flow margin 15 % 9 % (9) % Net cash provided by (used in) investing activities $ 1,370,837 $ 228,603 $ (616,452) Net cash (used in) provided by financing activities $ (2,311,572) $ (643,610) $ 45,007 56 Table of Contents Results of Operations The following table sets forth our results of operations for the periods presented.
Cash Flows from Investing Activities In 2023, cash provided by investing activities was $228.6 million primarily consisting of $247.4 million of maturities and sales of marketable securities and other investments, net of purchases, and $38.2 million of proceeds from divestitures, net of cash divested, partially offset by $39.9 million related to capitalized software development costs and $11.3 million related to purchases of long-lived assets.
In 2023, cash provided by investing activities was $228.6 million primarily consisting of $247.4 million of maturities and sales of marketable securities and other investments, net of purchases, and $38.2 million of proceeds from divestitures, net of cash divested, partially offset by $39.9 million related to capitalized software development costs and $11.3 million related to purchases of long-lived assets.
Empowered with this information and the insights it enables, businesses using our platform can provide robust, personalized and effective communications to their customers at every stage of their customer relationships.
Empowered with this information and the insights it enables, businesses using our platform can provide robust, personalized and effective communications to their customers at every stage of their customer relationships at scale.
Revenue from acquisitions does not impact the Dollar-Based Net Expansion Rate calculation until the quarter following the one-year anniversary of the applicable acquisition, unless the acquisition closing date is the first day of a quarter. As a result, for the year ended December 31, 2023, our Dollar-Based Net Expansion Rate excludes the contributions from acquisitions made after October 1, 2022.
Revenue from acquisitions does not impact the Dollar-Based Net Expansion Rate calculation until the quarter following the one-year anniversary of the applicable acquisition, unless the acquisition closing date is the first day of a quarter. As a result, for the year ended December 31, 2024, our Dollar-Based Net Expansion Rate excludes the contributions from acquisitions made after October 1, 2023.
Certain sales and marketing expenses are allocated to segments based on methodologies that best reflect the patterns of consumptions of these costs. A small percentage of sales and marketing costs, such as costs related to corporate communications and global brand awareness, are not allocated to segments because they support company-wide processes and are managed on a company-wide level.
Certain sales and marketing expenses are allocated to segments based on methodologies that best reflect the patterns of consumption of these costs. A small percentage of sales and marketing costs, such as costs related to corporate communications and global brand awareness, are not allocated to segments because they support company-wide processes and are managed on a company-wide level.
In 2023, restructuring costs increased by $89.1 million, or 116%, compared to the same period last year. The increase was primarily attributable to our restructuring activities under the February 2023 Plan and December 2023 Plan, which collectively had a more substantial financial impact than our restructuring activities undertaken in September 2022.
In 2023, restructuring costs increased by $89.1 million, or 116%, compared to the same period in the prior year. The increase was primarily attributable to our restructuring activities under the February 2023 Plan and December 2023 Plan, which collectively had a more substantial financial impact than our restructuring activities undertaken in September 2022.
Revenue from divestitures does not impact the Dollar-Based Net Expansion Rate calculation beginning in the quarter the divestiture closed, unless the divestiture closing date is the last day of a quarter. As a result, for the year ended December 31, 2023, our Dollar-Based Net Expansion Rate excludes the contributions from divestitures made after December 31, 2022.
Revenue from divestitures does not impact the Dollar-Based Net Expansion Rate calculation beginning in the quarter the divestiture closed, unless the divestiture closing date is the last day of a quarter. As a result, for the year ended December 31, 2024, our Dollar-Based Net Expansion Rate excludes the contributions from divestitures made after December 31, 2023.
The usage-based fees are earned when customers access our cloud-based platform and start using the products. Some examples of our usage-based products are Messaging and Voice. For Messaging products, we primarily charge fees related to the number of text messages sent or received. For Voice products, we primarily charge fees for minutes of call duration.
The usage-based fees are earned when customers access our cloud-based platform and start using our products. Examples of our primarily usage-based Communications products are Messaging and Voice. For Messaging products, we primarily charge fees related to the number of text messages sent or received. For Voice products, we primarily charge fees for minutes of call duration.
The primary difference between our effective tax rate and the federal statutory rate relates to the valuation allowance the Company established on the federal, state and certain foreign net operating losses and credits. 56 Table of Contents Non-GAAP Financial Measures We use the following non‑GAAP financial information, collectively, to evaluate our ongoing operations and for internal planning and forecasting purposes.
The primary difference between our effective tax rate and the federal statutory rate relates to the valuation allowance the Company established on the federal, state and certain foreign net operating losses and credits. 53 Table of Contents Non-GAAP Financial Measures We use the following non‑GAAP financial information to evaluate our ongoing operations and for internal planning and forecasting purposes.
We believe that non‑GAAP financial information, when taken collectively, may be helpful to investors because it provides consistency and comparability with past financial performance, facilitates period‑to‑period comparisons of results of operations and assists in comparisons with other companies, many of which use similar non‑GAAP financial information to supplement their results of operations reported in accordance with generally accepted accounting principles (“GAAP”).
We believe that non‑GAAP financial information may be helpful to investors because it provides consistency and comparability with past financial performance, facilitates period‑to‑period comparisons of results of operations and assists in comparisons with other companies, many of which use similar non‑GAAP financial information to supplement their results of operations reported in accordance with generally accepted accounting principles (“GAAP”).
The following table summarizes our year-over-year revenue growth and Dollar-Based Net Expansion Rate for the years ended December 31, 2023, 2022 and 2021, and the number of Active Customer Accounts as of December 31, 2023, 2022 and 2021.
The following table summarizes our year-over-year revenue growth and Dollar-Based Net Expansion Rate for the years ended December 31, 2024, 2023 and 2022, and the number of Active Customer Accounts as of December 31, 2024, 2023 and 2022.
Other Expenses, Net Our other expenses, net consist primarily of our share of losses from our equity method investment; impairment charges and gains and losses related to our strategic investments and marketable securities, including interest income; and debt-related costs, including interest expense.
Other Expenses, Net Our other expenses, net, consist primarily of our share of losses from our equity method investment, impairment charges and gains and losses related to our strategic investments, realized gains and losses from marketable securities, interest income and expense and debt-related costs.
Gross profit represents revenue less cost of revenue. Operating Expenses The most significant components of operating expenses are personnel costs, which consist of salaries, benefits, sales commissions and bonuses and stock‑based compensation. We also incur other non‑personnel costs related to our general overhead expenses. Research and Development.
Gross profit represents revenue less cost of revenue. Operating Expenses The most significant components of operating expenses are personnel costs, which consist of salaries, benefits, sales commissions, bonuses and stock‑based compensation. We also incur other non‑personnel costs related to our general overhead expenses. 52 Table of Contents Research and Development.
The increase was also attributable to a $20.3 million increase in amortization of capitalized internal-use software development costs due to additional internal-use software projects placed in service in the current year. In 2023, gross profit increased by $230.4 million, or 13%, compared to the same period last year.
The increase was also attributable to a $20.3 million increase in amortization of capitalized internal-use software development costs due to additional internal-use software projects placed in service in 2023. In 2023, gross profit increased by $230.4 million, or 13%, compared to the same period in the prior year.
These increases were offset by a decrease of $59.8 million related to revenue from our ValueFirst and IoT businesses, which were divested during 2023. In 2023, Segment revenue increased by $19.0 million, or 7%, compared to the same period last year.
These increases were offset by a decrease of $59.8 million related to revenue from our ValueFirst and IoT businesses, which we divested during 2023. In 2023, Segment revenue increased by $19.0 million, or 7%, compared to the same period in the prior year.
We are investing strategically in alignment with our focus on building a trusted, leading customer engagement platform. 55 Table of Contents Sales and Marketing. Sales and marketing expenses consist primarily of personnel costs, including commissions and bonuses to our sales employees.
We are investing strategically in alignment with our focus on building a trusted, leading customer engagement platform. Sales and Marketing. Sales and marketing expenses consist primarily of personnel costs, including commissions and bonuses to our sales employees.
Our platform, which combines our highly customizable communications APIs with customer data management capabilities, allows businesses to break down data silos and build a comprehensive single source for their customer data that is organized into unique profiles that are easily accessible by all their business teams.
Our platform, which combines our highly customizable communications APIs with customer data management capabilities and AI-powered predictions and recommendations, allows businesses to break down data silos and build a comprehensive single source for their customer data that is organized into unique profiles that are easily accessible by all their business teams.
With respect to changes in operating assets and liabilities, accounts receivable and prepaid expenses increased $289.0 million primarily due to revenue growth, timing of cash receipts and pre-payments of our cloud infrastructure fees and certain operating expenses.
With respect to changes in operating assets and liabilities, accounts receivable and prepaid expenses increased $214.6 million primarily due to revenue growth, timing of cash receipts and pre-payments of our cloud infrastructure fees and certain operating expenses.
In the three years ended December 31, 2023, 2022 and 2021, revenue from Active Customer Accounts represented over 99% of total revenue in each period. 53 Table of Contents Dollar‑Based Net Expansion Rate Our Dollar-Based Net Expansion Rate compares the total revenue from all Active Customer Accounts and customer accounts from Zipwhip in a quarter to the same quarter in the prior year.
In the three years ended December 31, 2024, 2023 and 2022, revenue from Active Customer Accounts represented over 99% of total revenue in each period. Dollar‑Based Net Expansion Rate Our Dollar-Based Net Expansion Rate compares the total revenue from all Active Customer Accounts and customer accounts from Zipwhip in a quarter to the same quarter in the prior year.
Our future capital requirements, the adequacy of our available funds and our cash from operations depend on many factors and are affected by various risks and uncertainties, including those set forth in Part I, Item 1A, “Risk Factors.” Share Repurchase Program In February 2023, our board of directors authorized a share repurchase program pursuant to which we may repurchase up to $1.0 billion in aggregate value of our common stock.
Our future capital requirements, the adequacy of our available funds and our cash from operations depend on many factors and are affected by various risks and uncertainties, including those set forth in Part I, Item 1A, “Risk Factors.” Share Repurchase Programs In February 2023, our board of directors authorized the repurchase of up to $1.0 billion in aggregate value of our Class A common stock.
Short-term marketable securities consist primarily of U.S. treasury securities, non-U.S. government securities, high credit quality corporate debt securities and commercial paper. The cash and cash equivalents and short-term marketable securities are held for working capital purposes.
Cash equivalents consist of money market funds, commercial paper and U.S. treasury bills. Short-term marketable securities consist primarily of U.S. treasury securities, non-U.S. government securities, high credit quality corporate debt securities and commercial paper. The cash and cash equivalents and short-term marketable securities are held for working capital purposes.
We focus our sales and marketing efforts on generating awareness of our company, platform and products, creating sales leads and establishing and promoting our brand, both domestically and internationally. General and Administrative. General and administrative expenses consist primarily of personnel costs for our accounting, finance, legal, human resources and administrative support personnel.
We focus our sales and marketing efforts on generating awareness of our company, platform and products, creating sales leads, expanding relationships with existing customers and establishing and promoting our brand, both domestically and internationally. General and Administrative. General and administrative expenses consist primarily of personnel costs for our accounting, finance, legal, human resources and administrative support personnel.
Some examples of the subscription-based Communications products are Email, Marketing Campaigns and Flex. For these products we recognize revenue evenly over the contract term. Our Segment segment revenue is derived from Segment and Engage products that are subscription-based. For these products we recognize revenue evenly over the contract term.
Examples of our primarily subscription-based Communications products are Email (which includes Marketing Campaigns) and Flex. For these products, we recognize revenue evenly over the contract term. Our Segment reportable segment revenue is derived from Segment products that are subscription-based. For these products we recognize revenue evenly over the contract term.
Our gross margin is impacted by a number of factors, including the timing and extent of our investments in our operations; our product mix; our ability to manage our cloud infrastructure‑related and network service provider fees, including 52 Table of Contents A2P SMS fees; the mix of U.S. revenue compared to international revenue; changes in foreign exchange rates; the timing of amortization of capitalized software development costs and acquired intangibles; and the extent to which we periodically choose to adjust prices of our products.
Our gross profit and gross margin are impacted by a number of factors, including our product mix; our ability to manage our cloud infrastructure‑related and network service provider fees, including A2P SMS fees; changes in foreign exchange rates; the timing of amortization of capitalized software development costs and acquired intangibles; the extent to which we periodically choose to adjust prices of our products; and the timing and extent of our investments in our operations.
In the years ended December 31, 2023, 2022, and 2021, our revenue was $4.2 billion, $3.8 billion and $2.8 billion, respectively, and our net loss was $1.0 billion, $1.3 billion and $949.9 million, respectively.
In the years ended December 31, 2024, 2023, and 2022, our revenue was $4.5 billion, $4.2 billion and $3.8 billion, respectively, and our net loss was $109.4 million, $1.0 billion and $1.3 billion, respectively.
Year Ended December 31, 2023 2022 2021 Active Customer Accounts 305,000 290,000 256,000 Total Revenue (in thousands) $ 4,153,945 $ 3,826,321 $ 2,841,839 Total Revenue Growth Rate 9 % 35 % 61 % Dollar-Based Net Expansion Rate 103 % 121 % 131 % Active Customer Accounts We define an Active Customer Account at the end of any period as an individual account, as identified by a unique account identifier, for which we have recognized at least $5 of revenue in the last month of the period.
Year Ended December 31, 2024 2023 2022 Active Customer Accounts 325,000 305,000 290,000 Total Revenue (in thousands) $ 4,458,036 $ 4,153,945 $ 3,826,321 Total Revenue Growth Rate 7 % 9 % 35 % Dollar-Based Net Expansion Rate 104 % 103 % 121 % 50 Table of Contents Active Customer Accounts We define an Active Customer Account at the end of any period as an individual account, as identified by a unique account identifier, for which we have recognized at least $5 of revenue in the last month of the period.
Key Components of Statements of Operations Revenue Revenue. We recognize revenue from our products on either a usage basis or a subscription basis, depending on the nature of the product and the type of customer contract. Our reportable segments contain products that may follow either revenue recognition model. The majority of our Communications segment revenue is derived from usage-based fees.
Key Components of Statements of Operations Revenue Revenue. We recognize revenue from our products on either a usage basis or a subscription basis, depending on the nature of the product and the type of customer contract. 51 Table of Contents The majority of our Communications reportable segment revenue is derived from usage-based fees.
Our leading customer engagement platform comprises communications APIs that enable developers to embed numerous forms of messaging, voice, and email interactions into their customer-facing applications, as well as software products that target specific engagement needs, including our customer data platform, digital engagement centers, marketing campaigns and advanced account security solutions.
We offer communications APIs that enable developers to embed numerous forms of messaging, voice, email and video interactions into their customer-facing applications, as well as software products that target specific engagement needs, including our customer data platform, digital engagement centers, marketing campaigns, and user authentication and identity solutions.
Cash Flows from Financing Activities In 2023, cash used in financing activities was $643.6 million primarily consisting of $668.8 million of cash paid to repurchase 11.3 million shares of our common stock in the open market, including related costs, offset by $43.8 million in proceeds from stock options exercised by our employees and shares issued under our employee stock purchase plan.
Cash Flows from Financing Activities In 2024, cash used in financing activities was $2.3 billion primarily consisting of $2.3 billion of cash paid to repurchase 36.8 million shares of our common stock in the open market, including related costs, offset by $37.4 million in proceeds from stock options exercised by our employees and shares issued under our employee stock purchase plan.
The increase was primarily attributable to a $477.0 million increase in network service providers’ costs, net of the impact of hedging instruments, and a $40.8 million increase in hosting fees, which supported the growth in usage of our products by our new and existing customers.
This increase was primarily attributable to an $87.8 million increase in network service providers’ costs, net of the impact of the hedging instruments, and a $34.7 million increase in hosting fees, which support the growth in usage of our products by our new and existing customers.
Repurchases under this program can be made through open market, private transactions or other means in compliance with applicable federal securities laws and could include repurchases pursuant to Rule 10b5-1 trading plans. We have discretion in determining the conditions under which shares may be repurchased from time to time.
Repurchases under this program can be made through open market, private transactions or other means, in compliance with applicable federal securities laws, and could include repurchases pursuant to Rule 10b5-1 trading plans.
Year Ended December 31, 2023 2022 2021 Consolidated Statements of Operations Data: (In thousands, except share and per share amounts) Revenue $ 4,153,945 $ 3,826,321 $ 2,841,839 Cost of revenue (1) (2) 2,110,015 2,012,744 1,451,126 Gross profit 2,043,930 1,813,577 1,390,713 Operating expenses: Research and development (1) (2) 942,790 1,079,081 789,219 Sales and marketing (1) (2) 1,022,985 1,248,032 1,044,618 General and administrative (1) (2) 468,459 517,414 472,460 Restructuring costs (1) 165,733 76,636 — Impairment of long-lived assets 320,504 97,722 — Total operating expenses 2,920,471 3,018,885 2,306,297 Loss from operations (876,541) (1,205,308) (915,584) Other expenses, net: Share of losses from equity method investment (121,897) (35,315) — Impairment of strategic investments (46,154) — — Other income (expenses), net 47,863 (3,009) (45,345) Total other expenses, net (120,188) (38,324) (45,345) Loss before (provision for) benefit from income taxes (996,729) (1,243,632) (960,929) (Provision for) benefit from income taxes (18,712) (12,513) 11,029 Net loss attributable to common stockholders $ (1,015,441) $ (1,256,145) $ (949,900) Net loss per share attributable to common stockholders, basic and diluted $ (5.54) $ (6.86) $ (5.45) Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted 183,327,844 182,994,038 174,180,465 __________________________________ (1) Includes stock-based compensation expense as follows: Year Ended December 31, 2023 2022 2021 (In thousands) Cost of revenue $ 26,343 $ 21,136 $ 14,074 Research and development 331,526 374,846 258,672 Sales and marketing 183,389 240,109 213,351 General and administrative 121,584 148,194 146,188 Restructuring costs 13,015 14,275 — Total $ 675,857 $ 798,560 $ 632,285 ____________________________________ (2) Includes amortization of acquired intangibles as follows: Year Ended December 31, 2023 2022 2021 (In thousands) Cost of revenue $ 113,266 $ 122,653 $ 114,896 Research and development 1,913 1,680 1,260 Sales and marketing 77,128 81,841 82,493 General and administrative — 7 135 Total $ 192,307 $ 206,181 $ 198,784 59 Table of Contents The following table sets forth our results of operations for each of the periods presented as a percentage of our total revenue: Year Ended December 31, 2023 2022 2021 Consolidated Statements of Operations, as a percentage of revenue: ** Revenue 100 % 100 % 100 % Cost of revenue 51 53 51 Gross profit 49 47 49 Operating expenses: Research and development 23 28 28 Sales and marketing 25 33 37 General and administrative 11 14 17 Restructuring costs 4 2 — Impairment of long-lived assets 8 3 — Total operating expenses 70 79 81 Loss from operations (21) (32) (32) Other expenses, net Share of losses from equity method investment (3) (1) — Impairment of strategic investments (1) — — Other income (expenses), net 1 * (2) Total other expenses, net (3) (1) (2) Loss before (provision for) benefit from income taxes (24) (33) (34) (Provision for) benefit from income taxes * * * Net loss attributable to common stockholders (24 %) (33 %) (33 %) ____________________________________ * Less than 0.5% of revenue. ** Columns may not add up to 100% due to rounding. 60 Table of Contents Comparison of Fiscal Years Ended December 31, 2023, 2022 and 2021 Revenue Year Ended December 31, 2023 2022 2021 2022 to 2023 Change 2021 to 2022 Change (Dollars in thousands) Twilio Communications $ 3,858,693 $ 3,550,087 $ 2,640,874 $ 308,606 9 % $ 909,213 34 % Twilio Segment 295,252 276,234 200,965 19,018 7 % 75,269 37 % Consolidated total revenue $ 4,153,945 $ 3,826,321 $ 2,841,839 $ 327,624 9 % $ 984,482 35 % 2023 compared to 2022 In 2023, Communications revenue increased by $308.6 million, or 9%, compared to the same period last year.
Year Ended December 31, 2024 2023 2022 Consolidated Statements of Operations Data: (In thousands, except share and per share amounts) Revenue $ 4,458,036 $ 4,153,945 $ 3,826,321 Cost of revenue (1) (2) 2,179,824 2,110,015 2,012,744 Gross profit 2,278,212 2,043,930 1,813,577 Operating expenses: Research and development (1) (2) 1,008,747 942,790 1,079,081 Sales and marketing (1) (2) 860,821 1,022,985 1,248,032 General and administrative (1) (2) 449,079 468,459 517,414 Restructuring costs (1) 13,273 165,733 76,636 Impairment of long-lived assets — 320,504 97,722 Total operating expenses 2,331,920 2,920,471 3,018,885 Loss from operations (53,708) (876,541) (1,205,308) Other expenses, net: Share of losses from equity method investment (108,481) (121,897) (35,315) Impairment of strategic investments (8,220) (46,154) — Other income (expenses), net 81,796 47,863 (3,009) Total other expenses, net (34,905) (120,188) (38,324) Loss before provision for from income taxes (88,613) (996,729) (1,243,632) Provision for income taxes (20,790) (18,712) (12,513) Net loss attributable to common stockholders $ (109,403) $ (1,015,441) $ (1,256,145) Net loss per share attributable to common stockholders, basic and diluted $ (0.66) $ (5.54) $ (6.86) Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted 165,925,128 183,327,844 182,994,038 __________________________________ (1) Includes stock-based compensation expense as follows: Year Ended December 31, 2024 2023 2022 (In thousands) Cost of revenue $ 22,001 $ 26,343 $ 21,136 Research and development 330,933 331,526 374,846 Sales and marketing 135,331 183,389 240,109 General and administrative 125,164 121,584 148,194 Restructuring costs 3,178 13,015 14,275 Total $ 616,607 $ 675,857 $ 798,560 ____________________________________ (2) Includes amortization of acquired intangibles as follows: Year Ended December 31, 2024 2023 2022 (In thousands) Cost of revenue $ 62,728 $ 113,266 $ 122,653 Research and development 1,867 1,913 1,680 Sales and marketing 47,248 77,128 81,841 General and administrative 8 — 7 Total $ 111,851 $ 192,307 $ 206,181 57 Table of Contents The following table sets forth our results of operations for each of the periods presented as a percentage of our total revenue: Year Ended December 31, 2024 2023 2022 Consolidated Statements of Operations, as a percentage of revenue: ** Revenue 100 % 100 % 100 % Cost of revenue 49 51 53 Gross profit 51 49 47 Operating expenses: Research and development 23 23 28 Sales and marketing 19 25 33 General and administrative 10 11 14 Restructuring costs * 4 2 Impairment of long-lived assets — 8 3 Total operating expenses 52 70 79 Loss from operations (1) (21) (32) Other expenses, net Share of losses from equity method investment (2) (3) (1) Impairment of strategic investments * (1) — Other income (expenses), net 2 1 * Total other expenses, net (1) (3) (1) Loss before provision for income taxes (2) (24) (33) Provision for income taxes * * * Net loss attributable to common stockholders (2 %) (24 %) (33 %) ____________________________________ * Less than 0.5% of revenue. ** Columns may not add up to 100% due to rounding. 58 Table of Contents Comparison of Fiscal Years Ended December 31, 2024, 2023 and 2022 Revenue Year Ended December 31, 2024 2023 2022 2023 to 2024 Change 2022 to 2023 Change (Dollars in thousands) Twilio Communications $ 4,160,340 $ 3,858,693 $ 3,550,087 $ 301,647 8 % $ 308,606 9 % Twilio Segment 297,696 295,252 276,234 2,444 1 % 19,018 7 % Consolidated total revenue $ 4,458,036 $ 4,153,945 $ 3,826,321 $ 304,091 7 % $ 327,624 9 % 2024 compared to 2023 In 2024, Communications revenue increased by $301.6 million, or 8%, compared to the same period last year.
Our actual results may differ materially from those anticipated in these forward-looking statements as a result of various factors, including those set forth under Part I, Item 1A, “Risk Factors” in this Annual Report on Form 10-K.
Our actual results may differ materially from those anticipated in these forward-looking statements as a result of various factors, including those set forth under Part I, Item 1A, “Risk Factors” in this Annual Report on Form 10-K. Overview We envision a world in which every digital interaction between businesses and their customers is amazing.
This increase was attributable to the factors impacting our revenue and cost of revenue, as described above. 2022 compared to 2021 In 2022, cost of revenue increased by $561.6 million, or 39%, compared to the same period in the prior year.
This increase was attributable to the factors impacting our revenue and cost of revenue, as described above. 59 Table of Contents 2023 compared to 2022 In 2023, cost of revenue increased by $97.3 million, or 5%, compared to the same period in the prior year.
Our Segment Dollar‑Based Net Expansion Rate was 97% for the year ended December 31, 2023, due to higher contraction and customer churn compared to the same period last year. In 2023, consolidated total revenue increased by $327.6 million, or 9%, compared to the same period last year.
Our Segment Dollar‑Based Net Expansion Rate was 97% for the year ended December 31, 2023, due to higher contraction and customer churn compared to the same period in the prior year.
This increase was partially offset by a $62.9 million decrease in impairments of operating right-of-use assets and property and equipment due to fewer office closures in 2023 compared to 2022. 2022 compared to 2021 In 2022, research and development expenses increased by $289.9 million, or 37%, compared to the same period in the prior year.
This increase was partially offset by a $62.9 million decrease in impairments of operating right-of-use assets and property and equipment due to fewer office closures in 2023 compared to 2022.
To increase revenue and grow market share, we intend to further enhance our ISV relationships, improve our self-service capabilities, cross-sell our products, drive product innovation, expand internationally, and enhance Segment interoperability.
To increase revenue and grow market share, we intend to drive product innovation, leverage predictive and generative AI, further enhance our ISV, reseller and other partner relationships, improve our self-service capabilities, cross-sell our products, expand internationally, enhance Segment data warehouse interoperability, and reduce time to value for Segment.
The increase in Communications cost of revenue was primarily attributable to a $477.0 million increase in network service providers’ costs, including the impact of hedging instruments, a $30.7 million increase in hosting fees, and a $14.7 million increase in support costs, all of which supported the growth in usage of our products by new and existing customers.
The increase in Communications cost of revenue was primarily attributable to a $19.5 million increase in hosting fees and a $51.3 million increase in network service providers’ costs, net of the impact of hedging instruments, to support the increase in revenue due to the growth in usage of our products by our new and existing customers.
Operating Expenses Year Ended December 31, 2023 2022 2021 2022 to 2023 Change 2021 to 2022 Change (Dollars in thousands) Research and development $ 942,790 $ 1,079,081 $ 789,219 $ (136,291) (13) % $ 289,862 37 % Sales and marketing 1,022,985 1,248,032 1,044,618 (225,047) (18) % 203,414 19 % General and administrative 468,459 517,414 472,460 (48,955) (9) % 44,954 10 % Restructuring costs 165,733 76,636 — 89,097 116 % 76,636 100 % Impairment of long-lived assets 320,504 97,722 — 222,782 228 % 97,722 100 % Total operating expenses $ 2,920,471 $ 3,018,885 $ 2,306,297 $ (98,414) (3) % $ 712,588 31 % 2023 compared to 2022 In 2023, research and development expenses decreased by $136.3 million, or 13%, compared to the same period last year.
Operating Expenses Year Ended December 31, 2024 2023 2022 2023 to 2024 Change 2022 to 2023 Change (Dollars in thousands) Research and development $ 1,008,747 $ 942,790 $ 1,079,081 $ 65,957 7 % $ (136,291) (13) % Sales and marketing 860,821 1,022,985 1,248,032 (162,164) (16) % (225,047) (18) % General and administrative 449,079 468,459 517,414 (19,380) (4) % (48,955) (9) % Restructuring costs 13,273 165,733 76,636 (152,460) (92) % 89,097 116 % Impairment of long-lived assets — 320,504 97,722 (320,504) (100) % 222,782 228 % Total operating expenses $ 2,331,920 $ 2,920,471 $ 3,018,885 $ (588,551) (20) % $ (98,414) (3) % 2024 compared to 2023 In 2024, research and development expenses increased by $66.0 million, or 7%, compared to the same period last year.
The increase in Segment cost of revenue was primarily attributable to a $10.2 million increase in hosting fees and a $5.8 million increase in support costs. Liquidity and Capital Resources As of December 31, 2023, we had cash and cash equivalents of $655.9 million and short-term marketable securities of $3.4 billion. Cash equivalents consist of money market funds.
The increase in Segment cost of revenue was primarily attributable to a $9.2 million increase in hosting fees and a $4.9 million increase in amortization of capitalized internal-use software development costs. Liquidity and Capital Resources As of December 31, 2024, we had cash and cash equivalents of $421.3 million and short-term marketable securities of $2.0 billion.
Overview We enable businesses of all sizes to revolutionize how they engage with their customers by delivering seamless, trusted and personalized customer experiences at scale.
By combining our leading communications capabilities, plus rich contextual data, plus generative and predictive AI, we enable businesses of all sizes to revolutionize how they engage with their customers by delivering seamless, trusted and personalized customer experiences at scale.
Platform usage is considered a monthly series comprising one performance obligation and usage-based fees are recognized as revenue in the period in which the usage occurs. Our subscription-based fees are derived from our software products, such as Segment, Engage, Flex, Email and Marketing Campaigns, and certain other non-usage-based contracts, such as with the sales of short codes and customer support.
Our subscription-based fees are derived from our software products, such as Segment, Flex, Email and Marketing Campaigns, and certain other non-usage-based contracts, such as with the sales of short codes and customer support. Non-usage-based contracts revenue is recognized on a ratable basis over the contractual term which is generally from one to three years.
We also intend to optimize our business and take measures to reduce costs, including simplifying our business processes, modernizing our infrastructure, focusing on self-service, leveraging AI, and implementing other initiatives targeted at improving efficiencies in our business. We are also conducting an operational review of our Segment business, which we expect to complete in March 2024.
We also intend to optimize our business and take measures to reduce costs, including simplifying and further automating our business processes, modernizing our infrastructure, focusing on self-service, leveraging AI, enacting certain workforce planning initiatives, optimizing utilization of our distributed workforce and implementing other initiatives targeted at improving efficiencies in our business.
A significant portion of general and administrative costs, such as costs related to corporate governance, legal and certain finance and accounting functions, support company-wide processes and are managed on a company-wide level and, therefore, are considered corporate costs and are not allocated to segments. We expect that we will incur costs associated with supporting the growth of our business.
A significant portion of general and administrative costs, such as costs related to corporate governance and certain costs related to legal, human resources, finance and accounting functions, are not allocated to segments because they support company-wide processes and are managed on a company-wide level. Restructuring Costs.
Non-usage-based contracts revenue is recognized on a ratable basis over the contractual term which is generally from one to three years. Our arrangements do not contain general rights of return. However, credits may be issued on a case-by-case basis. Credits are accounted for as variable consideration, are estimated based on historical trends and are recorded against revenue.
Our arrangements do not contain general rights of return. However, credits may be issued on a case-by-case basis. Credits are accounted for as variable consideration, are estimated based on historical trends and are recorded against revenue. The contracts do not provide customers with the right to take possession of the software supporting the applications.
The increase in Segment cost of revenue was primarily attributable to a $9.2 million increase in hosting fees and a $4.9 million increase in amortization of capitalized internal-use software development costs. 2022 compared to 2021 In 2022, Communications non-GAAP income from operations increased by $42.2 million, or 15%, compared to the same period in the prior year.
The decrease was driven by a decrease in Segment operating expenses of $18.4 million primarily attributable to a decrease in total personnel costs and an increase in Segment revenue of $2.4 million, as described in the Revenue section above, partially offset by a $7.4 million increase in hosting fees and a $5.2 million increase in amortization of capitalized internal-use software development costs. 2023 compared to 2022 In 2023, Communications non-GAAP income from operations increased by $523.3 million, or 164%, compared to the same period in the prior year.
This increase was primarily attributable to a 13% increase in the number of Communications Active Customer Accounts from over 249,000 as of December 31, 2021, to over 282,000 as of December 31, 2022, as well as the increased usage of our products by our existing customers, as reflected in our Communications Dollar‑Based Net Expansion Rate of 121%.
This increase was primarily attributable to the increased usage of our products by our existing customers, as reflected in our Communications Dollar‑Based Net Expansion Rate of 105%, as well as $201.6 million in revenue derived from our new Communications Active Customer Accounts.
Restructuring costs consist primarily of personnel costs, such as employee severance payments, benefits and certain facilitation costs, associated with our workforce reductions, which are described in Note 6 to our consolidated financial statements included elsewhere in this Annual Report on Form 10-K. Restructuring costs also include stock-based compensation expense related to vesting of stock-based awards of the impacted employees.
Restructuring costs consist primarily of personnel costs, such as employee severance payments, benefits and certain facilitation costs, associated with our workforce reductions. Restructuring costs also include stock-based compensation expense related to vesting of stock-based awards of the impacted employees. Impairment of Long-Lived Assets.
There can be no assurance that additional credit lines or financing instruments will be available in amounts or on terms acceptable to us, if at all. 65 Table of Contents We believe that our cash, cash equivalents and marketable securities balances, as well as the cash flows generated by our operations, will be sufficient to satisfy our anticipated cash needs for working capital and capital expenditure needs, including authorized share repurchases, for the next 12 months and beyond.
We believe that our cash, cash equivalents and marketable securities balances, as well as the cash flows generated by our operations, will be sufficient to satisfy our anticipated cash needs for working capital and capital expenditure needs, including authorized share repurchases, for the next 12 months and beyond.
The increase was driven by an increase in Segment operating expenses and cost of revenue, partially offset by an increase in Segment revenue of $19.0 million, as described in the Revenue section above.
In 2023, Segment non-GAAP loss from operations increased by $42.7 million, or 144%, compared to the same period in the prior year. The increase was driven by an increase in Segment operating expenses and cost of revenue, partially offset by an increase in Segment revenue of $19.0 million, as described in the Revenue section above.
Cash Flows The following table summarizes our cash flows: Year Ended December 31, 2023 2022 2021 (In thousands) Cash provided by (used in) operating activities $ 414,752 $ (254,368) $ (58,192) Cash provided by (used in) investing activities 228,603 (616,452) (2,489,996) Cash (used in) provided by financing activities (643,610) 45,007 3,096,325 Effect of exchange rate changes on cash, cash equivalents and restricted cash 108 60 (191) Net (decrease) increase in cash, cash equivalents and restricted cash $ (147) $ (825,753) $ 547,946 Cash Flows from Operating Activities In 2023, cash provided by operating activities consisted primarily of our net loss of $1.0 billion adjusted for non-cash items, including $675.9 million of stock-based compensation expense, $284.4 million of depreciation and amortization expense, $320.5 million of impairment of intangible assets and other long-lived assets, $72.9 million amortization of deferred commissions, $27.0 million of non-cash reduction in our operating right-of-use asset, $121.9 million of share of losses from equity method investments, $51.9 million of provision for bad debt and $230.6 million of cumulative changes in operating assets and liabilities.
These Notes are described in detail in Note 14 to our consolidated financial statements included elsewhere in this Annual Report on Form 10-K. 63 Table of Contents Cash Flows The following table summarizes our cash flows: Year Ended December 31, 2024 2023 2022 (In thousands) Cash provided by (used in) operating activities $ 716,241 $ 414,752 $ (254,368) Cash provided by (used in) investing activities 1,370,837 228,603 (616,452) Cash (used in) provided by financing activities (2,311,572) (643,610) 45,007 Effect of exchange rate changes on cash, cash equivalents and restricted cash — 108 60 Net decrease in cash, cash equivalents and restricted cash $ (224,494) $ (147) $ (825,753) Cash Flows from Operating Activities In 2024, cash provided by operating activities consisted primarily of our net loss of $109.4 million adjusted for non-cash items, including $616.6 million of stock-based compensation expense, $206.0 million of depreciation and amortization expense, $76.3 million amortization of deferred commissions, $19.1 million of non-cash reduction in our operating right-of-use asset, $108.5 million of share of losses from equity method investments, $35.4 million of provision for doubtful accounts and $234.1 million of cumulative changes in operating assets and liabilities.
We are also migrating part of Segment’s architecture to a new infrastructure provider in 2024, which we expect to allow us to recognize greater operational efficiency and scale up new AI-driven products and features.
Our gross margin is also impacted by the mix of U.S. messaging termination compared to international messaging termination, as international messaging has lower gross margins. We migrated part of Segment’s architecture to a new infrastructure provider in 2024, which we expect will allow us to recognize greater operational efficiency and scale up new AI-driven products and features.
Subscription-based fees are earned in accordance with subscription pricing terms. For our subscription-based products, customers generally enter into negotiated contracts, which are typically one to three years in duration. Subscription customers are generally invoiced in advance at the start of the contract term.
In the years ended December 31, 2024, 2023 and 2022, we generated 72%, 71% and 73% of our revenue, respectively, from usage-based fees. Subscription-based fees are earned in accordance with subscription pricing terms. For our subscription-based products, customers generally enter into negotiated contracts, which are typically one to three years in duration.
Segment Results of Operations The following table presents the results for non-GAAP operating income (loss), as reviewed by our CODM, for each of our Communications and Segment segments for the years ended December 31, 2023, 2022 and 2021: Year Ended December 31, 2023 2022 2021 2022 to 2023 Change 2021 to 2022 Change (Dollars in thousands) Twilio Communications $ 841,990 $ 318,680 $ 276,496 $ 523,310 164 % $ 42,184 15 % Twilio Segment $ (72,430) $ (29,695) $ (13,006) $ (42,735) 144 % $ (16,689) 128 % 2023 compared to 2022 In 2023, Communications non-GAAP income from operations increased by $523.3 million, or 164%, compared to the same period last year.
The increase was primarily attributable to a $86.6 million increase in our share of losses from our equity method investment and a $46.2 million increase related to an impairment of a strategic investment, partially offset by a $53.8 million increase in income related to our investments. 61 Table of Contents Segment Results of Operations The following table presents the results for non-GAAP operating income (loss), as reviewed by our CODM, for each of our Communications and Segment reportable segments for the years ended December 31, 2024, 2023 and 2022: Year Ended December 31, 2024 2023 2022 2023 to 2024 Change 2022 to 2023 Change (Dollars in thousands) Twilio Communications $ 1,042,049 $ 841,990 $ 318,680 $ 200,059 24 % $ 523,310 164 % Twilio Segment $ (62,655) $ (72,430) $ (29,695) $ 9,775 (13) % $ (42,735) 144 % 2024 compared to 2023 In 2024, Communications non-GAAP income from operations increased by $200.1 million, or 24%, compared to the same period last year.
As of December 31, 2023, approximately $327.9 million of the originally authorized amount remains available for future repurchases. 2029 Notes and 2031 Notes In March 2021, we issued and sold $1.0 billion aggregate principal amount of senior notes, consisting of $500.0 million principal amount of 3.625% notes due 2029 (the “2029 Notes”) and $500.0 million principal amount of 3.875% notes due 2031 (the “2031 Notes,” and together with the 2029 Notes, the “Notes”).
We have discretion in determining the conditions under which shares may be repurchased from time to time. 2029 Notes and 2031 Notes In March 2021, we issued and sold $1.0 billion aggregate principal amount of senior notes, consisting of $500.0 million principal amount of 3.625% notes due 2029 (the “2029 Notes”) and $500.0 million principal amount of 3.875% notes due 2031 (the “2031 Notes,” and together with the 2029 Notes, the “Notes”).
In 2022, cash used in investing activities was $616.5 million primarily consisting of $498.9 million of purchases of marketable securities and other investments, net of maturities and sales, $45.8 million related to capitalized software development costs, $37.4 million of net cash paid to acquire other businesses and $34.4 million related to purchases of long-lived assets.
Cash Flows from Investing Activities In 2024, cash provided by investing activities was $1.4 billion primarily consisting of $1.4 billion of maturities and sales of marketable securities and other investments, net of purchases, partially offset by $51.8 million related to capitalized software development costs and $7.0 million related to purchases of long-lived assets.
In 2021, U.S. revenue and international revenue represented $1.9 billion, or 68%, and $914.5 million, or 32%, of total revenue, respectively. 61 Table of Contents Cost of Revenue and Gross Profit Year Ended December 31, 2023 2022 2021 2022 to 2023 Change 2021 to 2022 Change (Dollars in thousands) Cost of revenue $ 2,110,015 $ 2,012,744 $ 1,451,126 $ 97,271 5 % $ 561,618 39 % Gross profit $ 2,043,930 $ 1,813,577 $ 1,390,713 $ 230,353 13 % $ 422,864 30 % 2023 compared to 2022 In 2023, cost of revenue increased by $97.3 million, or 5%, compared to the same period last year.
Cost of Revenue and Gross Profit Year Ended December 31, 2024 2023 2022 2023 to 2024 Change 2022 to 2023 Change (Dollars in thousands) Cost of revenue $ 2,179,824 $ 2,110,015 $ 2,012,744 $ 69,809 3 % $ 97,271 5 % Gross profit $ 2,278,212 $ 2,043,930 $ 1,813,577 $ 234,282 11 % $ 230,353 13 % 2024 compared to 2023 In 2024, cost of revenue increased by $69.8 million, or 3%, compared to the same period last year.
The increase was also due to a $13.4 million increase in advertising expenses. In 2022, general and administrative expenses increased by $45.0 million, or 10%, compared to the same period in the prior year.
Sales and marketing expenses also decreased due to a $21.5 million decrease in advertising expenses. In 2023, general and administrative expenses decreased by $49.0 million, or 9%, compared to the same period in the prior year.
In 2022, cash provided by financing activities was $45.0 million primarily consisting of $59.6 million in proceeds from stock options exercised by our employees and shares issued under our employee stock purchase plan, offset by $13.4 million in principal payments on debt and finance leases. Critical Accounting Policies and Estimates Our consolidated financial statements are prepared in accordance with U.S.
In 2023, cash used in financing activities was $643.6 million primarily consisting of $668.8 million of cash paid to repurchase 11.3 million shares of our common stock in the open market, including related costs, offset by $43.8 million in proceeds from stock options exercised by our employees and shares issued under our employee stock purchase plan. 64 Table of Contents Critical Accounting Policies and Estimates Our consolidated financial statements are prepared in accordance with U.S.
In the years ended December 31, 2023, 2022 and 2021, we generated 29%, 27% and 28% of our revenue, respectively, from non-usage‑based fees. Amounts that have been charged via credit card or invoiced are recorded in revenue, deferred revenue or customer deposits, depending on whether the revenue recognition criteria have been met.
Amounts that have been charged via credit card or invoiced are recorded in revenue, deferred revenue or customer deposits, depending on whether the revenue recognition criteria have been met.
We enter into contracts that can include various combinations of products and services, which are generally capable of being distinct and accounted for as separate performance obligations.
We enter into contracts that can include various combinations of products and services, which are generally capable of being distinct and accounted for as separate performance obligations. Revenue is recognized net of allowances for credits and any taxes collected from customers, which are subsequently remitted to governmental authorities. Our revenue is derived from usage and non-usage based fees.
The value proposition of our offerings has become stronger and our 50 Table of Contents products have become more strategic to our customers as more and more businesses have prioritized building more personalized and more differentiated customer engagement experiences through digital channels.
The value proposition of our offerings has become stronger and our products have become more strategic to our customers as businesses are increasingly prioritizing building more personalized and differentiated customer engagement experiences through digital channels. On January 1, 2025, we realigned our business unit structure into a functional support model under one organization.
In 2022, gross profit increased $422.9 million, or 30%, compared to the same period last year. This increase was attributable to the factors impacting our revenue and cost of revenue, as described above.
This increase was attributable to the factors impacting our revenue and cost of revenue, as described above.
We also experience seasonal trends due to increased consumer activity in the fourth quarter, which may result in lower sequential revenue in the first quarter. We are winding down our video product and the software component of our Zipwhip business in 2024, which we expect will negatively impact revenue growth rates in 2024.
We also experience 49 Table of Contents seasonal trends due to increased consumer activity in the fourth quarter, which may result in lower sequential revenue in the first quarter.
Our key Communications offerings include Messaging, Voice, Email, Flex, Marketing Campaigns, and User Identity and Authentication. Our Segment business consists of software products that enable businesses to leverage their first-party data to create unique customer profiles and achieve more effective customer engagement. Our key Segment offerings are Segment and Engage.
Our Segment reportable segment consists of software products that enable businesses to leverage their contextual data to create unique customer profiles and achieve more effective customer engagement. Our key offering in our Segment reportable segment is our Segment product.
The increase was driven by an increase in Communications revenue of $909.2 million, as described in the Revenue section above, offset by an increase in Communications operating expenses and Communications cost of revenue.
The increase was driven by an increase in Communications revenue of $301.6 million, as described in the Revenue section above, and a $16.8 million decrease in the provision for doubtful accounts.
These contracts may include negotiated terms and typically include minimum revenue commitments of varying durations. Usage-based customers subject to such contracts are typically invoiced monthly in arrears for products used. In the years ended December 31, 2023, 2022 and 2021, we generated 71%, 73% and 72% of our revenue, respectively, from usage-based fees.
Many of our larger usage-based customers enter into contractual arrangements with us for a period of at least 12 months. These contracts may include negotiated terms and typically include minimum revenue commitments of varying durations. Usage-based customers subject to such contracts are typically invoiced monthly in arrears for products used.
The impairment charges were triggered by office closures in 2022 as described in Note 6 to our consolidated financial statements included elsewhere in this Annual Report on Form 10-K. 63 Table of Contents Other Expenses, net Year Ended December 31, 2023 2022 2021 2022 to 2023 Change 2021 to 2022 Change (Dollars in thousands) Share of losses from equity method investment $ 121,897 $ 35,315 $ — $ 86,582 245 % $ 35,315 100 % Impairment of strategic investments 46,154 — — 46,154 100 % — — % Other (income) expenses, net (47,863) 3,009 45,345 (50,872) (1,691) % (42,336) (93) % Total other expenses, net $ 120,188 $ 38,324 $ 45,345 $ 81,864 214 % $ (7,021) (15) % 2023 compared to 2022 In 2023, other expenses, net, increased by $81.9 million, or 214%, compared to the same period last year.
Other Expenses, net Year Ended December 31, 2024 2023 2022 2023 to 2024 Change 2022 to 2023 Change (Dollars in thousands) Share of losses from equity method investment $ 108,481 $ 121,897 $ 35,315 $ (13,416) (11) % $ 86,582 245 % Impairment of strategic investments 8,220 46,154 — (37,934) (82) % 46,154 100 % Other (income) expenses, net (81,796) (47,863) 3,009 (33,933) 71 % (50,872) (1691) % Total other expenses, net $ 34,905 $ 120,188 $ 38,324 $ (85,283) (71) % $ 81,864 214 % 2024 compared to 2023 In 2024, other expenses, net, decreased by $85.3 million, or 71%, compared to the same period last year.
The impairment of intangible assets and other long lived assets is described further in Note 6 to our consolidated financial statements included elsewhere in this Annual Report on Form 10-K. 66 Table of Contents In 2022, cash used in operating activities consisted primarily of our net loss of $1.3 billion adjusted for non-cash items, including $798.6 million of stock-based compensation expense reflecting the impact of the September 2022 restructuring plan, $279.1 million of depreciation and amortization expense, $97.7 million of impairment of operating lease and other long-lived assets, $57.9 million of amortization of deferred commissions, $47.2 million of non-cash reduction in our operating right-of-use asset, $35.3 million of share of losses from equity method investments, $35.0 million of provision for bad debt, $33.2 million of net amortization of investment premium and discount and $396.6 million of cumulative changes in operating assets and liabilities.
In 2023, cash provided by operating activities consisted primarily of our net loss of $1.0 billion adjusted for non-cash items, including $675.9 million of stock-based compensation expense, $284.4 million of depreciation and amortization expense, $320.5 million of impairment of intangible assets and other long-lived assets, $72.9 million amortization of deferred commissions, $27.0 million of non-cash reduction in our operating right-of-use asset, $121.9 million of share of losses from equity method investments, $51.9 million of provision for bad debt and $230.6 million of cumulative changes in operating assets and liabilities.
When our usage-based products are embedded into our subscription-based products, we charge for each product separately on a usage or subscription basis, respectively, and record the revenue in the reportable segment in which each product resides. 54 Table of Contents Most of our usage-based customers gain access to our products and solutions through our e-commerce self-service sign-up format, which requires an upfront prepayment via credit card that is drawn down as they use our products.
When our usage-based products are embedded into our subscription-based products, we charge for each product separately on a usage or subscription basis, respectively, and record the revenue in the reportable segment in which each product resides.
For further detail on the restructuring plans refer to Note 7 to our consolidated financial statements included elsewhere in this Annual Report on Form 10-K. In 2023, sales and marketing expenses decreased by $225.0 million, or 18%, compared to the same period last year.
In 2023, sales and marketing expenses decreased by $225.0 million, or 18%, compared to the same period in the prior year.
In February 2023, our board of directors authorized a share repurchase program pursuant to which we may repurchase up to $1.0 billion in aggregate value of our common stock until the program expires on December 31, 2024.
In the year ended December 31, 2024, we repurchased $2.3 billion in aggregate value, or 36.8 million shares, of our Class A common stock on the open market. In January 2025, our board of directors authorized the repurchase of up to $2.0 billion in aggregate value of our Class A common stock, with such program expiring on December 31, 2027.
The increase in Communications cost of revenue was primarily attributable to a $19.5 million increase in hosting fees and a $51.3 million increase in network service providers’ costs, net of the impact of hedging instruments, to support the increase in revenue due to the growth in usage of our products by our new and existing customers. 64 Table of Contents In 2023, Segment non-GAAP loss from operations increased by $42.7 million, or 144%, compared to the same period last year.
These drivers were partially offset by an $87.8 million increase in network service providers’ costs, net of the impact of hedging instruments, and a $27.3 million increase in hosting fees. In 2024, Segment non-GAAP loss from operations decreased by $9.8 million, or 13%, compared to the same period last year.