XML 39 R29.htm IDEA: XBRL DOCUMENT
v3.23.3

Fair Value Measurements - Schedule of Financial Assets and Liabilities (Details) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Oct. 31, 2023 | Apr. 30, 2023 | Oct. 31, 2022 | Oct. 31, 2023 | Oct. 31, 2022 | Jan. 31, 2023
Short-term investments: |  |  |  |  |  |
Investment in non-marketable equity securities | $ 13,100 |  |  | $ 13,100 |  | $ 9,800
Equity securities without readily determinable fair value, upward price adjustment, annual amount | 0 |  | $ 0 | 1,300 | $ 1,700 |
Non-marketable Securities |  |  |  |  |  |
Short-term investments: |  |  |  |  |  |
Payments to acquire investments |  |  |  | 2,100 | $ 2,700 |
Fair Value, Recurring |  |  |  |  |  |
Short-term investments: |  |  |  |  |  |
Total financial assets | 1,691,743 |  |  | 1,691,743 |  | 1,649,789
Level 1 | Fair Value, Recurring |  |  |  |  |  |
Short-term investments: |  |  |  |  |  |
Total financial assets | 1,691,743 |  |  | 1,691,743 |  | 1,649,789
Level 2 | Fair Value, Recurring |  |  |  |  |  |
Short-term investments: |  |  |  |  |  |
Total financial assets | 0 |  |  | 0 |  | 0
Level 3 | Fair Value, Recurring |  |  |  |  |  |
Short-term investments: |  |  |  |  |  |
Total financial assets | 0 |  |  | 0 |  | 0
U.S. government treasury securities |  |  |  |  |  |
Short-term investments: |  |  |  |  |  |
Unrealized losses on US treasury stock |  | $ 2,422 |  | 10,031 |  |
U.S. government treasury securities | Fair Value, Recurring |  |  |  |  |  |
Short-term investments: |  |  |  |  |  |
Short-term investments: | 1,447,036 |  |  | 1,447,036 |  | 1,380,804
U.S. government treasury securities | Level 1 | Fair Value, Recurring |  |  |  |  |  |
Short-term investments: |  |  |  |  |  |
Short-term investments: | 1,447,036 |  |  | 1,447,036 |  | 1,380,804
U.S. government treasury securities | Level 2 | Fair Value, Recurring |  |  |  |  |  |
Short-term investments: |  |  |  |  |  |
Short-term investments: | 0 |  |  | 0 |  | 0
U.S. government treasury securities | Level 3 | Fair Value, Recurring |  |  |  |  |  |
Short-term investments: |  |  |  |  |  |
Short-term investments: | 0 |  |  | 0 |  | 0
Money market funds | Fair Value, Recurring |  |  |  |  |  |
Cash and cash equivalents: |  |  |  |  |  |
Cash and cash equivalents: | 244,707 |  |  | 244,707 |  | 268,985
Money market funds | Level 1 | Fair Value, Recurring |  |  |  |  |  |
Cash and cash equivalents: |  |  |  |  |  |
Cash and cash equivalents: | 244,707 |  |  | 244,707 |  | 268,985
Money market funds | Level 2 | Fair Value, Recurring |  |  |  |  |  |
Cash and cash equivalents: |  |  |  |  |  |
Cash and cash equivalents: | 0 |  |  | 0 |  | 0
Money market funds | Level 3 | Fair Value, Recurring |  |  |  |  |  |
Cash and cash equivalents: |  |  |  |  |  |
Cash and cash equivalents: | $ 0 |  |  | $ 0 |  | $ 0

X
- Definition Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aa) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481830/320-10-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_CashAndCashEquivalentsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References No definition available. + Details
Name: | us-gaap_CashAndCashEquivalentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in equity security without readily determinable fair value. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 321 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479536/321-10-50-3 + Details
Name: | us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of gain from upward price adjustment on investment in equity security without readily determinable fair value. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 321 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479536/321-10-50-3 + Details
Name: | us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow associated with the purchase of all investments (debt, security, other) during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-13 + Details
Name: | us-gaap_PaymentsToAcquireInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_ShortTermInvestmentsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SecurityOwnedNotReadilyMarketableAxis=mdb_NonMarketableSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |