Biggest changeYears Ended January 31, 2022 2021 2020 Consolidated Statements of Operations Data: Revenue: Subscription $ 842,047 $ 565,349 $ 399,826 Services 31,735 25,031 21,894 Total revenue 873,782 590,380 421,720 Cost of revenue: Subscription (1) 217,901 145,280 101,691 Services (1) 41,591 31,796 23,665 Total cost of revenue 259,492 177,076 125,356 Gross profit 614,290 413,304 296,364 Operating expenses: Sales and marketing (1) 471,890 325,100 223,893 Research and development (1) 308,820 205,161 149,033 General and administrative (1) 122,944 92,347 71,304 Total operating expenses 903,654 622,608 444,230 Loss from operations (289,364) (209,304) (147,866) Other expense, net (13,525) (53,389) (28,312) Loss before provision for (benefit from) income taxes (302,889) (262,693) (176,178) Provision for (benefit from) income taxes 3,977 4,251 (656) Net loss $ (306,866) $ (266,944) $ (175,522) (1) Includes stock-based compensation expense as follows (in thousands): Years Ended January 31, 2022 2021 2020 Cost of revenue—subscription $ 14,387 $ 8,970 $ 4,996 Cost of revenue—services 6,325 4,953 3,047 Sales and marketing 91,947 54,632 26,640 Research and development 104,335 57,611 26,686 General and administrative 34,075 23,147 14,407 Total stock-based compensation expense $ 251,069 $ 149,313 $ 75,776 52 Table of Contents Years Ended January 31, 2022 2021 2020 Percentage of Revenue Data: Revenue: Subscription 96 % 96 % 95 % Services 4 4 5 Total revenue 100 100 100 Cost of revenue: Subscription 25 25 24 Services 5 5 6 Total cost of revenue 30 30 30 Gross profit 70 70 70 Operating expenses: Sales and marketing 54 55 53 Research and development 35 35 35 General and administrative 14 15 17 Total operating expenses 103 105 105 Loss from operations (33) (35) (35) Other income (expense), net (1) (9) (7) Loss before provision for (benefit from) income taxes (34) (44) (42) Provision for (benefit from) income taxes 1 1 — Net loss (35) % (45) % (42) % Comparison of the Years Ended January 31, 2022 and 2021 Revenue Years Ended January 31, Change (in thousands) 2022 2021 $ % Subscription $ 842,047 $ 565,349 $ 276,698 49 % Services 31,735 25,031 6,704 27 % Total revenue $ 873,782 $ 590,380 $ 283,402 48 % Total revenue growth reflects increased demand for our platform and related services.
Biggest changeYears Ended January 31, 2023 2022 2021 Consolidated Statements of Operations Data: Revenue: Subscription $ 1,235,122 $ 842,047 $ 565,349 Services 48,918 31,735 25,031 Total revenue 1,284,040 873,782 590,380 Cost of revenue: Subscription (1) 284,583 217,901 145,280 Services (1) 64,721 41,591 31,796 Total cost of revenue 349,304 259,492 177,076 Gross profit 934,736 614,290 413,304 Operating expenses: Sales and marketing (1) 699,201 471,890 325,100 Research and development (1) 421,692 308,820 205,161 General and administrative (1) 160,498 122,944 92,347 Total operating expenses 1,281,391 903,654 622,608 Loss from operations (346,655) (289,364) (209,304) Other income (expense), net 13,401 (13,525) (53,389) Loss before provision for income taxes (333,254) (302,889) (262,693) Provision for income taxes 12,144 3,977 4,251 Net loss $ (345,398) $ (306,866) $ (266,944) (1) Includes stock-based compensation expense as follows (in thousands): Years Ended January 31, 2023 2022 2021 Cost of revenue—subscription $ 19,682 $ 14,387 $ 8,970 Cost of revenue—services 10,565 6,325 4,953 Sales and marketing 143,073 91,947 54,632 Research and development 159,099 104,335 57,611 General and administrative 49,035 34,075 23,147 Total stock-based compensation expense $ 381,454 $ 251,069 $ 149,313 54 Table of Contents Years Ended January 31, 2023 2022 2021 Percentage of Revenue Data: Revenue: Subscription 96 % 96 % 96 % Services 4 4 4 Total revenue 100 100 100 Cost of revenue: Subscription 22 25 25 Services 5 5 5 Total cost of revenue 27 30 30 Gross profit 73 70 70 Operating expenses: Sales and marketing 54 54 55 Research and development 33 35 35 General and administrative 13 14 15 Total operating expenses 100 103 105 Loss from operations (27) (33) (35) Other income (expense), net 1 (1) (9) Loss before provision for income taxes (26) (34) (44) Provision for income taxes 1 1 1 Net loss (27) % (35) % (45) % Comparison of the Years Ended January 31, 2023 and 2022 Revenue Years Ended January 31, Change (in thousands) 2023 2022 $ % Subscription $ 1,235,122 $ 842,047 $ 393,075 47 % Services 48,918 31,735 17,183 54 % Total revenue $ 1,284,040 $ 873,782 $ 410,258 47 % Total revenue growth reflects increased demand for our platform and related services.
ARR includes the revenue we expect to receive from our customers over the following 12 months based on contractual commitments and, in the case of Direct Sales Customers of MongoDB Atlas, by annualizing the prior 90 days of their actual consumption of MongoDB Atlas, assuming no increases or reductions in their subscriptions or usage.
ARR includes the revenue we expect to receive from our customers over the following 12 months based on contractual commitments and, in the case of Direct Sales Customers of MongoDB Atlas, by annualizing the prior 90 days of their actual usage of MongoDB Atlas, assuming no increases or reductions in their subscriptions or usage.
For all other customers of our self-serve products, we calculate annualized MRR by annualizing the prior 30 days of their actual consumption of such products, assuming no increases or reductions in usage. ARR and annualized MRR exclude professional services.
For all other customers of our self-serve products, we calculate annualized MRR by annualizing the prior 30 days of their actual usage of such products, assuming no increases or reductions in usage. ARR and annualized MRR exclude professional services.
We believe that our market opportunity is large and we will continue to invest significantly in scaling across all organizational functions in order to grow our operations both domestically and internationally.
We believe that our market opportunity is large and we will continue to invest in scaling across all organizational functions in order to grow our operations both domestically and internationally.
On June 29, 2021, we entered into an underwriting agreement with Morgan Stanley & Co. LLC and Goldman Sachs & Co. LLC, as representatives of the several underwriters named therein, pursuant to which we agreed to issue and sell 2,500,000 shares of our Class A common stock, par value $0.001 per share, at an offering price of $365.00 per share.
On June 29, 2021, we entered into an underwriting agreement with Morgan Stanley & Co. LLC and Goldman Sachs & Co. LLC, as representatives of the several underwriters named therein, pursuant to which we agreed to issue and sell 2,500,000 shares of our common stock, par value $0.001 per share, at an offering price of $365.00 per share.
For further details of our contractual obligations and lease agreements, refer to our Notes to Consolidated Financial Statements, within Part II, Item 8, Financial Statements and Supplementary Data of this Form 10-K, specifically Note 6, Convertible Senior Notes , Note 7, Leases and Note 8, Commitments and Contingencies. 58 Table of Contents Critical Accounting Estimates Our financial statements are prepared in accordance with GAAP.
For further details of our contractual obligations and lease agreements, refer to our Notes to Consolidated Financial Statements, within Part II, Item 8, Financial Statements and Supplementary Data of this Form 10-K, specifically Note 6, Convertible Senior Notes , Note 7, Leases and Note 8, Commitments and Contingencies. 60 Table of Contents Critical Accounting Estimates Our financial statements are prepared in accordance with GAAP.
We recognize revenue at the time the related performance obligation is satisfied when control of the services or products are transferred to the customers, 59 Table of Contents in an amount that reflects the consideration we expect to be entitled to in exchange for those services or products. We record our revenue net of any value added or sales tax.
We recognize revenue at the time the related performance obligation is satisfied when control of the services or products are transferred to the customers, 61 Table of Contents in an amount that reflects the consideration we expect to be entitled to in exchange for those services or products. We record our revenue net of any value added or sales tax.
Operating losses in the United States, for years after January 31, 2018, in Ireland and the U.K. may be carried forward indefinitely. The deferred tax assets associated with the NOL carryforwards in each of these jurisdictions are subject to a full valuation allowance. Under Section 382 of the U.S.
Operating losses in the United States, for years after January 31, 2019, in Ireland and the U.K. may be carried forward indefinitely. The deferred tax assets associated with the NOL carryforwards in each of these jurisdictions are subject to a full valuation allowance. Under Section 382 of the U.S.
Approximately $1.9 million aggregate principal amount outstanding as of October 31, 2021 were converted to 27,377 shares of the Company’s Class A common stock with the remaining balance settled in cash. The extinguishment of the 2024 Notes on December 3, 2021 was immaterial to our financial statements.
Approximately $1.9 million aggregate principal amount outstanding as of October 31, 2021 were converted to 27,377 shares of the Company’s common stock with the remaining balance settled in cash. The extinguishment of the 2024 Notes on December 3, 2021 was immaterial to our financial statements.
Liquidity and Capital Resources As of January 31, 2022, our principal sources of liquidity were cash, cash equivalents, short-term investments and restricted cash totaling $1.8 billion. Our cash and cash equivalents primarily consist of bank deposits and money market funds.
Liquidity and Capital Resources As of January 31, 2023, our principal sources of liquidity were cash, cash equivalents, short-term investments and restricted cash totaling $1.8 billion. Our cash and cash equivalents primarily consist of bank deposits and money market funds.
In the event that additional financing is required from outside sources, we may not be able to raise it on terms acceptable to us or at all. If we are unable to raise additional capital when desired, our business, operating results and financial condition would be adversely affected.
We may be required to seek additional equity or debt financing. In the event that additional financing is required from outside sources, we may not be able to raise it on terms acceptable to us or at all. If we are unable to raise additional capital when desired, our business, operating results and financial condition would be adversely affected.
In addition, our customers expand their subscriptions to our platform as they migrate additional existing applications or build new applications, either within the same department or in other lines of business or geographies. Also, as customers modernize their information technology infrastructure and move to the cloud, they may migrate applications from legacy databases.
In addition, our customers add incremental workloads or expand their subscriptions to our platform as they migrate additional existing applications or build new applications, either within the same department or in other lines of business or geographies. Also, as customers modernize their information technology infrastructure and move to the cloud, they may migrate applications from legacy databases.
We believe that there is a significant opportunity to drive additional sales to existing customers and expect to invest in sales and marketing and customer success personnel and activities to achieve additional revenue growth from existing customers. If an application grows and requires additional capacity, our customers increase their subscriptions to our platform.
We believe that there is a significant opportunity to drive additional sales to existing customers and expect to invest in sales and marketing and customer success personnel and activities to achieve additional revenue growth from existing customers. If an application grows and requires additional capacity, our customers increase their usage of our platform.
Our platform has been downloaded from our website more than 240 million times since February 2009 and over 85 million times in the last 12 months alone. We also offer a free tier of MongoDB Atlas, which provides access to our hosted database solution with limited processing power and storage, as well as certain operational limitations.
Our platform has been downloaded from our website more than 365 million times since February 2009 and over 125 million times in the last 12 months alone. We also offer a free tier of MongoDB Atlas, which provides access to our hosted database solution with limited processing power and storage, as well as certain operational limitations.
During the year ended January 31, 2022, MongoDB Atlas revenue represented 56% of our total revenue, as compared to 46% in the prior year, reflecting the continued growth of MongoDB Atlas since its introduction in June 2016. We have experienced strong growth in self-serve customers of MongoDB Atlas. These customers are charged monthly in arrears based on their usage.
During the year ended January 31, 2023, MongoDB Atlas revenue represented 63% of our total revenue, as compared to 56% in the prior year, reflecting the continued growth of MongoDB Atlas since its introduction in June 2016. We have experienced strong growth in self-serve customers of MongoDB Atlas. These customers are charged monthly in arrears based on their usage.
The increase in third-party infrastructure costs was partly offset by continued cost efficiencies realized as we scale MongoDB Atlas. In addition, subscription cost of revenue was higher due to a $10.9 million increase in personnel costs and stock-based compensation associated with increased headcount in our support organization.
The increase in third-party infrastructure costs was partly offset by continued cost efficiencies realized as we scale MongoDB Atlas. In addition, subscription cost of revenue was higher due to a $11.5 million increase in personnel costs and stock-based compensation associated with increased headcount in our support organization.
We sell subscriptions directly through our field and inside sales teams, as well as indirectly through channel partners. The majority of our subscription contracts are one year in duration and are invoiced upfront. When we enter into multi-year subscriptions, we typically invoice the customer on an annual basis.
We sell subscriptions directly through our field and inside sales teams, as well as indirectly through channel partners. The majority of our subscription contracts are one year in duration and are invoiced upfront. When we enter into multi-year subscriptions, the customer is typically invoiced on an annual basis or pays upfront.
Comparison of the Years Ended January 31, 2021 and 2020 For a discussion of our results of operations for the year ended January 31, 2021 as compared to the year ended January 31, 2020, refer to Part II, Item 7, Management’s Discussion and Analysis of Financial Condition and Results of Operations , of our Annual Report on Form 10-K filed with the SEC on March 22, 2021.
Comparison of the Years Ended January 31, 2022 and 2021 For a discussion of our results of operations for the year ended January 31, 2022 as compared to the year ended January 31, 2021, refer to Part II, Item 7, Management’s Discussion and Analysis of Financial Condition and Results of Operations , of our Annual Report on Form 10-K filed with the SEC on March 18, 2022.
As of January 31, 2022, we had an accumulated deficit of $1.2 billion. We expect to continue to incur operating losses, may continue to experience negative cash flows from operations in the future and may require additional capital resources to execute strategic initiatives to grow our business.
As of January 31, 2023, we had an accumulated deficit of $1.5 billion. We expect to continue to incur operating losses, may continue to experience negative cash flows from operations in the future and may require additional capital resources to execute strategic initiatives to grow our business.
Our subscription contracts are generally non-cancelable and non-refundable. 49 Table of Contents Services Revenue. Services revenue is comprised of consulting and training services and is recognized over the period of delivery of the applicable services. We recognize revenue from services agreements as services are delivered.
Our subscription contracts are generally non-cancelable and non-refundable. Services Revenue. Services revenue is comprised of consulting and training services and is recognized over the period of delivery of the applicable services. We recognize revenue from services agreements as services are delivered.
We expect our revenue may vary from period to period based on, among other things, the timing and size of new subscriptions, the proportion of term license contracts that commence within the period, the rate of customer renewals and expansions, delivery of professional services, the impact of significant transactions and seasonality of or fluctuations in usage for our consumption-based customers.
We expect our revenue may vary from period to period based on, among other things, the timing and size of new subscriptions, customer usage patterns, the proportion of term license contracts that commence within the period, the rate of customer renewals and expansions, delivery of professional services, the impact of significant transactions and seasonality of or fluctuations in usage from our MongoDB Atlas customers.
As of January 31, 2022, we had over 4,400 cus tomers that were sold through our direct sales force and channel partners, as compared to over 3,000 and over 2,000 such customers as of January 31, 2021 and 2020, respectively.
As of January 31, 2023, we had over 6,400 cus tomers that were sold through our direct sales force and channel partners, as compared to over 4,400 and over 3,000 such customers as of January 31, 2022 and 2021, respectively.
We satisfied our conversion obligations with respect to conversions occurring after the date of the Redemption Notice and prior to December 3, 2021 (the “Redemption Date”) by delivering shares of Class A common stock, plus cash in lieu of any resulting fractional shares (physical settlement).
We satisfied our conversion obligations with respect to conversions occurring after the date of 57 Table of Contents the Redemption Notice and prior to December 3, 2021 (the “Redemption Date”) by delivering shares of common stock, plus cash in lieu of any resulting fractional shares (physical settlement).
We also generate revenue from services, which consist primarily of fees associated with consulting and training services. Revenue from services accounted for 4%, 4% and 5% of our total revenue for the years ended January 31, 2022, 2021 and 2020, respectively.
We also generate revenue from services, which consist primarily of fees associated with consulting and training services. Revenue from services accounted for 4% of our total revenue for each of the years ended January 31, 2023, 2022 and 2021, respectively.
MongoDB Enterprise Advanced is our proprietary commercial database server offering for enterprise customers that can run in the cloud, on-premise or in a hybrid environment . MongoDB Enterprise Advanced revenue represented 35%, 44% and 50% of our subscription revenue for the years ended January 31, 2022, 2021 and 2020, respectively.
MongoDB Enterprise Advanced is our proprietary commercial database server offering for enterprise customers that can run in the cloud, on-premises or in a hybrid environment . MongoDB Enterprise Advanced revenue represented 29%, 35% and 44% of our subscription revenue for the years ended January 31, 2023, 2022 and 2021, respectively.
The number of customers with $100,000 or greater in ARR and annualized MRR was 1,307, 975 and 751 as of January 31, 2022, 2021 and 2020, respectively.
The number of customers with $100,000 or greater in ARR and annualized MRR was 1,651, 1,307 and 975 as of January 31, 2023, 2022 and 2021, respectively.
Our operating cash flow was $7.0 million, $(42.7) million and $(29.5) million for the years ended January 31, 2022, 2021 and 2020, respectively. 51 Table of Contents Results of Operations The following tables set forth our results of operations for the periods presented in U.S. dollars (in thousands) and as a percentage of our total revenue.
Our operating cash flow was $(13.0) million, $7.0 million and $(42.7) million for the years ended January 31, 2023, 2022 and 2021, respectively. 53 Table of Contents Results of Operations The following tables set forth our results of operations for the periods presented in U.S. dollars (in thousands) and as a percentage of our total revenue.
Our net loss was $306.9 million, $266.9 million and $175.5 million for the years ended January 31, 2022, 2021 and 2020, respectively , driven primarily by higher sales and marketing spend and research and development costs .
Our net loss was $345.4 million, $306.9 million and $266.9 million for the years ended January 31, 2023, 2022 and 2021, respectively , driven primarily by higher sales and marketing spend and research and development costs .
Highlights for the Years Ended January 31, 2022, 2021 and 2020 For the years ended January 31, 2022, 2021 and 2020, our total revenue was $873.8 million , $590.4 million and $421.7 million, respectively. The increase in total revenue was primarily driven by an increase in subscription revenue from our Direct Sales Customers .
Highlights for the Years Ended January 31, 2023, 2022 and 2021 For the years ended January 31, 2023, 2022 and 2021, our total revenue was $1,284.0 million , $873.8 million and $590.4 million, respectively. The increase in total revenue was primarily driven by an increase in subscription revenue from our Direct Sales Customers .
We have increased our sales and marketing headcount to 1,713 employees as of January 31, 2022 from 1,171 employees and 789 employees as of January 31, 2021 and 2020, respectively. Components of Results of Operations Revenue Subscription Revenue. Our subscription revenue is comprised of term licenses and hosted as-a-service solutions.
We have increased our sales and marketing headcount to 2,249 employees as of January 31, 2023 from 1,713 employees and 1,171 employees as of January 31, 2022 and 2021, respectively. 51 Table of Contents Components of Results of Operations Revenue Subscription Revenue. Our subscription revenue is comprised of term licenses and hosted as-a-service solutions.
As the impact of the ongoing COVID-19 pandemic on the global economy and our operations continues to evolve, we will continue to assess our liquidity needs. We may in the future enter into arrangements to acquire or invest in complementary businesses, services and technologies, including intellectual property rights. We may be required to seek additional equity or debt financing.
As the impact of the COVID-19 pandemic and macroeconomic conditions on the global economy and our operations continues to evolve, we will continue to assess our liquidity needs. We may in the future enter into arrangements to acquire or invest in complementary businesses, services and technologies, including intellectual property rights.
Revenue Recognition We derive our revenue from two sources: (1) sales of subscriptions, including term license and post-contract customer support (“PCS”) and consumption-based database-as-a-service offerings; and (2) services revenue comprised of consulting and training arrangements.
Revenue Recognition We derive our revenue from two sources: (1) the sales of subscriptions, which includes the usage-based database-as-a-service offering and the term license and post-contract customer support (“PCS”); and (2) services revenue comprised of consulting and training arrangements.
As of January 31, 2022, we had net operating loss (“NOL”) carryforwards for U.S. federal and state, Irish and U.K. income tax purposes of approximately $1.9 billion, $1.7 billion, $558.4 million and $44.1 million, respectively, which begin to expire in the year ending January 31, 2028 for U.S. federal purposes and January 31, 2023 for state purposes.
As of January 31, 2023, we had net operating loss (“NOL”) carryforwards for U.S. federal and state, Irish and U.K. income tax purposes of approximately $1.9 billion, $1.8 billion, $697.2 million and $42.9 million, respectively, which begin to expire in the year ending January 31, 2028 for U.S. federal purposes and January 31, 2024 for state purposes.
Subscription revenue increased by $276.7 million primarily due to an increase of $253.6 million from our Direct Sales Customers, inclusive of the impact from Direct Sales Customers who were self-serve customers of MongoDB Atlas in the prior-year period.
Subscription revenue increased by $393.1 million primarily due to an increase of $360.5 million from our Direct Sales Customers, inclusive of the impact from Direct Sales Customers who were self-serve customers of MongoDB Atlas in the prior-year period.
Our future capital requirements and adequacy of available funds will depend on many factors including our growth rate, the timing and extent of spending to support development efforts, the expansion of sales and marketing and international operation activities, the timing and size of new subscription introductions, the continuing market acceptance of our subscriptions and services and the impact of the ongoing COVID-19 pandemic on the global economy and our business, financial condition and results of operations.
Our future capital requirements and adequacy of available funds will depend on many factors, including our growth rate and any impact on it from global macroeconomic conditions, including rising interest rates and inflation, the timing and extent of spending to support development efforts, the expansion of sales and marketing and international operation activities, the timing and size of new subscription introductions and customer usage of our developer data platform, the continuing market acceptance of our subscriptions and services and the impact of the COVID-19 pandemic on the global economy and our business, financial condition and results of operations.
We are also focused on increasing the number of overall MongoDB Atlas customers as we emphasize the on-demand scalability of MongoDB Atlas by allowing our customers to consume the product with minimal commitment. After launching in June 2016, we had over 31,500 Mo ngoDB Atlas customers as of January 31, 2022 .
We are also focused on increasing the number of overall MongoDB Atlas customers as we emphasize the on-demand scalability of MongoDB Atlas by allowing our customers to consume the product with minimal commitment. We had over 39,300 Mo ngoDB Atlas customers as of January 31, 2023 .
The overall provision for income taxes decreased for the year ended January 31, 2022, due to a reduction in the valuation allowance as a result of goodwill from an immaterial business combination and the impact from the adoption of ASU 2020-06, partly offset by higher foreign taxes.
In addition, the overall provision for income taxes for the year ended January 31, 2022 includes a reduction in the valuation allowance as a result of goodwill from an immaterial business combination and the impact from the adoption of ASU 2020-06.
As of January 31, 2022, we had over 33,000 customers across a wide range of industries and in over 100 countries, compared to over 24,800 customers and over 17,000 customers as of January 31, 2021 and 2020, respectively. All affiliated entities are counted as a single customer.
As of January 31, 2023, we had over 40,800 customers across a wide range of industries and in over 100 countries, compared to over 33,000 customers and over 24,800 customers as of January 31, 2022 and 2021, respectively. All affiliated entities are counted as a single customer and our definition of “customer” excludes users of our free offerings .
Investing Activities Cash used in investing activities during the year ended January 31, 2022 was $852.1 million, primarily due to cash used to purchase marketable securities, net of maturities, of $835.3 million, as a result of the increased cash balance following our June 2021 equity offering, $4.5 million of net cash used for an immaterial acquisition and $4.3 million of cash to purchase non-marketable securities.
Investing Activities Cash used in investing activities during the during the year ended January 31, 2023 was $33.3 million, primarily due to purchases of marketable securities, net of proceeds from maturities, of $23.0 million, $7.2 million of cash used for purchases of property and equipment and $3.1 million of additional investment in non-marketable securities. 58 Table of Contents Cash used in investing activities during the year ended January 31, 2022 was $852.1 million, primarily due to cash used to purchase marketable securities, net of maturities, of $835.3 million, as a result of the increased cash balance following our June 2021 equity offering, $4.5 million of net cash used for an immaterial acquisition and $4.3 million of cash to purchase non-marketable securities.
We also have U.S. federal and state research credit carryforwards of $70.6 million and $6.6 million, respectively, which begin to expire in the year ending January 31, 2029 for federal purposes and January 31, 2025 for state purposes.
We also have U.S. federal and state research credit carryforwards of $94.1 million and $8.9 million, respectively, which begin to expire in the year ending January 31, 2029 for federal purposes and January 31, 2025 for state purposes. Beginning in fiscal year 2023, provisions in the U.S.
The following table summarizes our cash flows for the periods presented (in thousands): Years Ended January 31, 2022 2021 2020 Net cash provided by (used in) operating activities $ 6,980 $ (42,673) $ (29,540) Net cash used in investing activities (852,142) (262,656) (1,645) Net cash provided by financing activities 890,892 27,581 589,238 Operating Activities Cash provided by operating activities during the year ended January 31, 2022 was $7.0 million.
The following table summarizes our cash flows for the periods presented (in thousands): Years Ended January 31, 2023 2022 2021 Net cash (used in) provided by operating activities $ (12,970) $ 6,980 $ (42,673) Net cash used in investing activities (33,308) (852,142) (262,656) Net cash provided by financing activities 30,200 890,892 27,581 Operating Activities Cash used in operating activities during the year ended January 31, 2023 was $13.0 million.
Operating Expenses Sales and Marketing Years Ended January 31, Change (in thousands) 2022 2021 $ % Sales and marketing $ 471,890 $ 325,100 $ 146,790 45 % The increase in sales and marketing expense included $100.7 million from higher personnel costs and stock-based compensation, driven by an increase in our sales and marketing headcount to 1,713 as of January 31, 2022 from 1,171 as of January 31, 2021, which includes non-quota-carrying hires in sales operations, customer success and marketing.
Operating Expenses Sales and Marketing Years Ended January 31, Change (in thousands) 2023 2022 $ % Sales and marketing $ 699,201 $ 471,890 $ 227,311 48 % The increase in sales and marketing expense included $140.8 million from higher personnel costs and stock-based compensation, driven by an increase in our sales and marketing headcount to 2,249 as of January 31, 2023 from 1,713 as of January 31, 2022, which includes non-quota-carrying hires in sales operations, customer success and marketing.
In 2020, we adopted several measures in response to the COVID-19 pandemic, including temporarily requiring employees to work remotely, suspending non-essential travel by our employees, and replacing in-person marketing events (including our annual developer conference) with virtual events.
In response to the COVID-19 pandemic in 2020, we adopted several measures to protect our employees, maintain operations and support our customers globally. Such measures included temporarily requiring employees to work remotely, suspending non-essential travel, and replacing in-person marketing events with virtual events.
We expect general and administrative expense to increase in absolute dollars over time as we continue to invest in the growth of our business, as well as incur the ongoing costs of compliance associated with being a publicly traded company. 50 Table of Contents Other Income (Expense), Net Other income (expense), net consists primarily of interest income, interest expense and gains and losses from foreign currency transactions.
We expect general and administrative expense to increase in absolute dollars over time as we continue to invest in the growth of our business, as well as incur the ongoing costs of compliance associated with being a publicly traded company.
We expect our sales and marketing expense to increase in absolute dollars over time as we expand our sales force and increase our marketing resources, expand into new markets and further develop our self-serve and partner channels. Research and Development. Research and development expense consists primarily of personnel costs, including salaries, bonuses and benefits, and stock-based compensation.
We expect our sales and marketing expense to increase in absolute dollars over time as we expand our sales force and increase our marketing resources, expand into new markets and further develop our self-serve and partner channels. 52 Table of Contents Research and Development.
It also includes amortization associated with intangible acquired assets and allocated overhead. We expect our research and development expenses to continue to increase in absolute dollars, as we continue to invest in our platform and develop new products. General and Administrative.
Research and development expense consists primarily of personnel costs, including salaries, bonuses and benefits, and stock-based compensation. It also includes amortization associated with intangible acquired assets and allocated overhead. We expect our research and development expenses to continue to increase in absolute dollars, as we continue to invest in our developer data platform and develop new products. General and Administrative.
In January 2022, we expanded our enterprise partnership arrangement with a cloud infrastructure provider that includes a non-cancelable commitment of $1.1 billion over the next six years, which commenced during February 2022; • our finance and operating lease obligations under non-cancelable leases for office space expiring through 2032; and • accounts payable and accrued liabilities on our consolidated balance sheet (primarily short-term in nature).
Subsequent to January 31, 2023, the Company expanded its enterprise partnership arrangement with a cloud infrastructure provider that includes a non-cancelable commitment of $300 million over the next five years, commencing in March 2023, which is not included in the table above; • our finance and operating lease obligations under non-cancelable leases for office space expiring through 2032; and • accounts payable and accrued liabilities on our consolidated balance sheet (primarily short-term in nature).
Provision for (Benefit from) Income Taxes Provision for income taxes consists primarily of state income taxes in the United States and income taxes in certain foreign jurisdictions in which we conduct business.
Other Income (Expense), Net Other income (expense), net consists primarily of interest income, interest expense, gains and losses on investments and gains and losses from foreign currency transactions. Provision for Income Taxes Provision for income taxes consists primarily of state income taxes in the United States and income taxes in certain foreign jurisdictions in which we conduct business.
The continuing growth of our sales and our expanding customer base led to an increase in deferred revenue of $137.2 million, offset by an increase in deferred 56 Table of Contents commissions of $84.7 million and an increase in accounts receivable of $62.3 million.
The continuing growth of our sales and our expanding customer base led to an increase in deferred revenue of $137.2 million, offset by an increase in deferred commissions of $84.7 million and an increase in accounts receivable of $62.3 million. Cash provided by operating activities was negatively impacted by higher prepaid and other current assets of $19.9 million.
We have invested, and expect to continue to invest, heavily in our sales and marketing efforts and developer community outreach, which are critical to driving customer acquisition.
Growing Our Customer B ase and Expanding Our Global Reach We are intensely focused on continuing to grow our customer base. We have invested, and expect to continue to invest, in our sales and marketing efforts and developer community outreach, which are critical to driving customer acquisition.
Utilization of the federal NOL carryforwards and credits may be subject to a substantial annual limitation due to the ownership change limitations provided by the Code, as amended and similar state provisions.
Capitalized R&D expenditures are deductible as amortized in future periods. Therefore, the Company recorded a deferred tax asset for the capitalized R&D expenditures. Utilization of the federal NOL carryforwards and credits may be subject to a substantial annual limitation due to the ownership change limitations provided by the Code, as amended and similar state provisions.
These customers, which we refer to as our Direct Sales Customers, accounted for 85%, 82% and 78% of our subscription revenue for the years ended January 31, 2022, 2021 and 2020, respectively. The percentage of our subscription revenue from Direct Sales Customers increased, in part, due to existing self-serve customers of MongoDB Atlas becoming Direct Sales Customers.
These customers, which we refer to as our Direct Sales Customers, accounted for 87%, 85% and 82% of our subscription revenue for the years ended January 31, 2023, 2022 and 2021, respectively.
For further discussion of the potential impacts of the ongoing COVID-19 pandemic on our business, operating results, and financial condition, see the section titled “Risk Factors” included in Part I, Item 1A of this Form 10-K. Other factors affecting our performance are discussed below, although we caution you that the ongoing COVID-19 pandemic may also further impact these factors.
As these factors develop and we evaluate their impact on our business, we may adjust our business practices accordingly. For further discussion of the potential impacts of these factors on our business, operating results, and financial condition, see the section titled “Risk Factors” included in Part I, Item 1A of this Form 10-K.
We have invested significantly in MongoDB Atlas and our ability to drive adoption of MongoDB Atlas is a key component of our growth strategy. 48 Table of Contents Retaining and Expanding Revenue from Existing Customers The economic attractiveness of our subscription-based model is driven by customer renewals and increasing existing customer subscriptions over time, referred to as land-and-expand.
The growth in MongoDB Atlas customers included new customers to MongoDB and existing MongoDB Enterprise Advanced customers adding incremental MongoDB Atlas workloads. Retaining and Expanding Revenue from Existing Customers The economic attractiveness of our subscription-based model is driven by customer renewals and increasing existing customer subscriptions over time, referred to as land-and-expand.
Provision for Income Taxes Years Ended January 31, Change (in thousands) 2022 2021 $ % Provision for income taxes $ 3,977 $ 4,251 $ (274) (6) % The provision for income taxes during the year ended January 31, 2022 and January 31, 2021 was primarily due to foreign taxes as we continued our global expansion.
Provision for Income Taxes Years Ended January 31, Change (in thousands) 2023 2022 $ % Provision for income taxes $ 12,144 $ 3,977 $ 8,167 205 % The increase in the provision for income taxes during the year ended January 31, 2023 was primarily due to an increase in foreign taxes as the Company continued its global expansion.
Organizations can deploy our platform at scale in the cloud, on-premise, or in a hybrid environment. Through our unique document-based architecture, we are able to address the needs of organizations for performance, scalability, flexibility and reliability while maintaining the strengths of legacy databases.
The foundation of our offering is the world’s leading, modern general purpose database. Organizations can deploy our database at scale in the cloud, on-premises, or in a hybrid environment. Built on our unique document-based architecture, our database is designed to meet the needs of organizations for performance, scalability, flexibility and reliability while maintaining the strengths of relational databases.
Subscriptions to term licenses include technical support and access to new software versions on a when-and-if available basis. Revenue from our term licenses is recognized upfront for the license component and ratably for the technical support and when-and-if available update components. Associated contracts are typically billed annually in advance.
Revenue from our term licenses is recognized upfront for the license component and ratably for the technical support and when-and-if available update components. Associated contracts are typically billed annually in advance. The majority of our subscription contracts are one year in duration. When we enter into multi-year subscriptions, the customer is typically invoiced on an annual basis or pays upfront.
Research and Development Years Ended January 31, Change (in thousands) 2022 2021 $ % Research and development $ 308,820 $ 205,161 $ 103,659 51 % The increase in research and development expense was primarily driven by a $92.0 million increase in personnel costs and stock-based compensation as we increased our research and development headcount by 35% to 863 as of January 31, 2022 from 638 as of January 31, 2021.
Research and Development Years Ended January 31, Change (in thousands) 2023 2022 $ % Research and development $ 421,692 $ 308,820 $ 112,872 37 % The increase in research and development expense was primarily driven by a $97.8 million increase in personnel costs and stock-based compensation as we increased our research and development headcount by 19%.
We received net proceeds of $889.2 million, after deducting underwriting discounts and commissions of $22.7 million and offering expenses of $0.6 million. Offering expenses included legal, accounting and other fees. In January 2020, we issued $1.15 billion aggregate principal amount of 0.25% convertible senior notes due 2026 in a private placement (the “2026 Notes”).
We received net proceeds of $889.2 million, after deducting underwriting discounts and commissions of $22.7 million and offering expenses of $0.6 million. Offering expenses included legal, accounting and other fees. On October 1, 2021, we issued a notice of redemption (the “Redemption Notice”) for the aggregate principal amount outstanding of its 2024 Notes.
Our goal is to increase the number of customers that standardize on our database within their organization. Over time, the subscription amount for our typical Direct Sales Customer has increased. We calculate annualized recurring revenue (“ARR”) and annualized monthly recurring revenue (“MRR”) to help us measure our subscription revenue performance.
Our goal is to increase the number of customers that standardize on our platform within their organization, as well as add new workloads with new and existing customers. Over time, the subscription amount for our typical Direct Sales Customer has increased.
The growth in services revenue was driven primarily by the increased delivery of consulting services. 53 Table of Contents Cost of Revenue, Gross Profit and Gross Margin Percentage Years Ended January 31, Change (in thousands) 2022 2021 $ % Subscription cost of revenue $ 217,901 $ 145,280 $ 72,621 50 % Services cost of revenue 41,591 31,796 9,795 31 % Total cost of revenue 259,492 177,076 82,416 47 % Gross profit $ 614,290 $ 413,304 $ 200,986 49 % Gross margin 70 % 70 % Subscription 74 % 74 % Services (31) % (27) % The increase in subscription cost of revenue was primarily due to a $58.3 million increase in third‑party cloud infrastructure costs, including costs associated with the growth of MongoDB Atlas.
The increase in services revenue was driven primarily by the continued increase in delivery of consulting services. 55 Table of Contents Cost of Revenue, Gross Profit and Gross Margin Percentage Years Ended January 31, Change (in thousands) 2023 2022 $ % Subscription cost of revenue $ 284,583 $ 217,901 $ 66,682 31 % Services cost of revenue 64,721 41,591 23,130 56 % Total cost of revenue 349,304 259,492 89,812 35 % Gross profit $ 934,736 $ 614,290 $ 320,446 52 % Gross margin 73 % 70 % Subscription 77 % 74 % Services (32) % (31) % The increase in subscription cost of revenue was primarily due to a $50.9 million increase in third‑party cloud infrastructure costs, including costs associated with the growth of MongoDB Atlas.
In particular, these higher costs were driven by an increase in general and administrative personnel headcount resulting in $28.8 million higher personnel costs and stock-based compensation.
In particular, these higher costs were driven by an increase in general and administrative personnel headcount resulting in $31.5 million higher personnel costs and stock-based compensation. In addition, general and administrative expense increased due to higher professional services fees, higher office-related expenses driven by higher headcount, and higher travel costs.
Factors Affecting Our Performance Extending Product Leadership and Maintaining Developer Mindshare We are committed to delivering market-leading products to continue to build and maintain credibility with the global software developer community. We believe we must maintain our product leadership position and the strength of our brand to drive further revenue growth.
Other factors affecting our performance are discussed below, although we caution you that the COVID-19 pandemic may also impact these factors. Factors Affecting Our Performance Extending Product Leadership and Maintaining Developer Mindshare We are committed to delivering market-leading products to continue to build and maintain credibility with the global software developer community.
Cash provided by financing activities during the year ended January 31, 2021 was $27.6 million, primarily due to $18.5 million of proceeds from the issuance of common stock under the Employee Stock Purchase Plan and $17.0 million of proceeds from the exercises of stock options, partially offset by $4.6 million principal repayments of finance leases, as well as $4.2 million used for payments of issuance costs related to our January 2020 offering of 0.25% convertible senior notes due 2026 that had been accrued as of January 31, 2020. 57 Table of Contents Contractual Obligations and Commitments The following table summarizes our contractual obligations as of January 31, 2022 (in thousands): Payments Due by Period Total Less Than 1 Year 1 to 3 Years 3 to 5 Years More Than 5 Years 0.25% convertible senior notes due 2026 1,161,488 2,875 5,750 1,152,863 — Finance lease obligations 66,749 7,401 16,518 17,422 25,408 Operating lease obligations 54,397 9,857 16,490 10,776 17,274 Purchase obligations 1,263,174 188,039 419,892 440,243 215,000 Total $ 2,545,808 $ 208,172 $ 458,650 $ 1,621,304 $ 257,682 At January 31, 2022, our material short-term and long-term cash requirements for various contractual obligations and commitments consisted of the following: • principal and future interest payments related to our 2026 Notes; • our purchase obligations under non-cancelable agreements for cloud infrastructure capacity commitments and subscription and marketing services.
Cash provided by financing activities during the year ended January 31, 2022 was $890.9 million, primarily due to $889.2 million net proceeds from our June 2021 equity offering, $25.2 million of proceeds from the issuance of common stock under the Employee Stock Purchase Plan and $9.7 million of proceeds from the exercises of stock options, partially offset by $5.6 million principal repayments of finance leases, as well as $27.6 million used to repay a portion of our 2024 convertible notes upon redemption. 59 Table of Contents Contractual Obligations and Commitments The following table summarizes our contractual obligations as of January 31, 2023 (in thousands): Payments Due by Period Total Less Than 1 Year 1 to 3 Years 3 to 5 Years More Than 5 Years 0.25% convertible senior notes due 2026 1,158,597 2,875 1,155,722 — — Finance lease obligations 59,347 8,073 17,156 17,422 16,696 Operating lease obligations 53,526 11,993 18,237 10,929 12,367 Purchase obligations 1,146,064 200,706 525,358 420,000 — Total $ 2,417,534 $ 223,647 $ 1,716,473 $ 448,351 $ 29,063 At January 31, 2023, our material short-term and long-term cash requirements for various contractual obligations and commitments consisted of the following: • principal and future interest payments related to our 2026 Notes; • our purchase obligations under non-cancelable agreements for cloud infrastructure capacity commitments and subscription and marketing services.
Financing Activities Cash provided by financing activities during the year ended January 31, 2022 was $890.9 million, primarily due to $889.2 million net proceeds from our June 2021 equity offering, $25.2 million of proceeds from the issuance of common stock under the Employee Stock Purchase Plan and $9.7 million of proceeds from the exercises of stock options, partially offset by $5.6 million principal repayments of finance leases, as well as $27.6 million used to repay a portion of our 2024 convertible notes upon redemption.
Financing Activities Cash provided by financing activities during the year ended January 31, 2023 was $30.2 million, due to $29.0 million of proceeds from the issuance of common stock under the Employee Stock Purchase Plan and $5.7 million exercises of stock options, partly offset by $4.5 million of principal repayments of finance leases.
During 2021, with the release of MongoDB 5.0, we improved the ease of use of our platform, by introducing innovation that facilitates data partitioning as well as simplifying the process of upgrading to the latest version of our software. We also expanded the breadth of functionality of our platform by introducing native time series support across our platform.
During 2021, we improved the ease of use of our platform by introducing innovation that facilitates data partitioning and expanded the breadth of functionality of our platform by introducing native time series support across our platform. During 2022, we continued to build on these improvements and further extended our offering.
Sales and marketing expense also increased $30.0 million from costs associated with our higher headcount, including higher commissions expense and higher travel costs related to in-person events. In addition, sales and marketing expenses increased by $4.8 million due to increased spending on marketing programs.
Sales and marketing expense also increased $69.8 million from costs associated with our higher headcount, including higher commissions expense, higher travel costs and higher computer hardware and software expenses. Travel costs increased also due to the easing of restrictions related to the COVID-19 pandemic.
We generate revenue primarily from sales of subscriptions, which accounted for 96%, 96% and 95% of our total revenue for the years ended January 31, 2022, 2021 and 2020, respectively. MongoDB Atlas is our hosted multi-cloud database-as-a-service (“DBaaS”) offering that includes comprehensive infrastructure and management, which we run and manage in the cloud.
MongoDB Atlas is our hosted multi-cloud database-as-a-service (“DBaaS”) offering, which we run and manage in the cloud, and includes comprehensive infrastructure and management, as well as a host of additional features, such as MongoDB Atlas Search.
A portion of the increased personnel costs was due to higher payroll taxes related to the vesting of restricted stock units and stock option exercises, which was impacted by our higher average stock price as compared to the prior year. 54 Table of Contents General and Administrative Years Ended January 31, Change (in thousands) 2022 2021 $ % General and administrative $ 122,944 $ 92,347 $ 30,597 33 % The increase in general and administrative expense was due to higher costs to support the growth of our business and to maintain compliance as a public company.
Travel costs increased also due to the easing of restrictions related to the COVID-19 pandemic. 56 Table of Contents General and Administrative Years Ended January 31, Change (in thousands) 2023 2022 $ % General and administrative $ 160,498 $ 122,944 $ 37,554 31 % The increase in general and administrative expense was due to higher costs to support the growth of our business and to maintain compliance as a public company.
Our subscription gross margin is negatively impacted by the increasing percentage of revenue from MongoDB Atlas, offset by efficiencies realized in managing our third-party cloud infrastructure costs. The impact of higher services personnel costs and stock-based compensation resulted in negative services gross margin.
Total headcount in our support and services organizations increased 38% from January 31, 2022 to January 31, 2023. Our overall gross margin improved to 73%. Our subscription gross margin increased to 77% as efficiencies realized in managing our third-party cloud infrastructure costs more than offset the negative margin impact from the increasing percentage of revenue from MongoDB Atlas.
The increase in services cost of revenue was primarily due to a $5.7 million increase in personnel costs and stock-based compensation associated with increased headcount in our services organization. Total headcount in our support and services organizations increased 33% from January 31, 2021 to January 31, 2022. Our overall gross margin, as well as our subscription gross margin, remained flat.
The increase in services cost of revenue was primarily due to a $15.8 million increase in personnel costs and stock-based compensation associated with increased headcount in our services organization, and a $4.1 million increase in costs driven by an increase in the volume of consulting and training services.
Unless otherwise stated, references to particular years, quarters, months or periods refer to our fiscal years ended January 31 and the associated quarters, months and periods of those fiscal years. Overview MongoDB is the leading modern, general purpose database platform. Our robust platform enables developers to build and modernize applications rapidly and cost-effectively across a broad range of use cases.
Unless otherwise stated, references to particular years, quarters, months or periods refer to our fiscal years ended January 31 and the associated quarters, months and periods of those fiscal years. Overview MongoDB is the developer data platform company whose mission is to empower developers to create, transform, and disrupt industries by unleashing the power of software and data.
We also made it possible for developers to easily access their MongoDB Atlas through a standard interface. We intend to continue to invest in our engineering capabilities and marketing activities to maintain our strong position in the developer community. We have spent $983.0 million on research and development since our inception.
We intend to continue to invest in our engineering capabilities and marketing activities to maintain our strong position in the developer community. We have spent $1.4 billion on research and development since our inception. Our results of operations may fluctuate as we make these investments to drive increased customer adoption and usage.
In addition, we used $8.1 million of cash to purchase property and equipment. Cash used in investing activities during the year ended January 31, 2021 of $262.7 million resulted from the purchase of marketable securities, net of maturities, $11.8 million used to purchase property and equipment and $0.5 million of net cash used to purchase non-marketable securities.
In addition, we used $8.1 million of cash to purchase property and equipment.
We have experienced rapid growth and have made substantial investments in developing our platform and expanding our sales and marketing footprint. We intend to continue to 46 Table of Contents invest heavily to grow our business to take advantage of our market opportunity rather than optimizing for profitability or cash flow in the near term.
We have experienced rapid growth and have made substantial investments in developing our platform and expanding our sales and marketing footprint.
The overall growth of our sales and our expanding customer base led to an increase in deferred revenue by $48.2 million, offset by an increase in accounts receivable of $47.6 million and an increase of $41.6 million in deferred commissions.
This was primarily driven by our net loss of $345.4 million, which included non‑cash charges of $381.5 million for stock‑based compensation and $16.1 million for depreciation and amortization. The continuing growth of our sales and our expanding customer base led to an increase in accounts receivable of $91.5 million and deferred commissions of $49.1 million.