XML 37 R27.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Fair Value Measurements - Schedule of Financial Assets and Liabilities (Details) - USD ($) | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Oct. 31, 2022 | Oct. 31, 2022 | Oct. 31, 2021 | Jan. 31, 2022
Short-term investments: |  |  |  |
Unrealized losses |  | $ 3,500,000 |  |
Fair value of security owned not readily marketable | $ 9,300,000 | 9,300,000 |  | $ 4,800,000
Payments To Acquire Non Marketable Securities | 1,600,000 | 2,723,000 | $ 2,343,000 |
Gain on non-marketable securities |  | (1,694,000) | $ 0 |
Fair Value, Recurring |  |  |  |
Short-term investments: |  |  |  |
Total financial assets | 1,633,170,000 | 1,633,170,000 |  | 1,683,240,000
Level 1 | Fair Value, Recurring |  |  |  |
Short-term investments: |  |  |  |
Total financial assets | 1,633,170,000 | 1,633,170,000 |  | 1,683,240,000
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 | Fair Value, Recurring |  |  |  |
Short-term investments: |  |  |  |
Short-term investments: | 787,858,000 | 787,858,000 |  | 1,352,019,000
U.S. government treasury securities | Level 1 | Fair Value, Recurring |  |  |  |
Short-term investments: |  |  |  |
Short-term investments: | 787,858,000 | 787,858,000 |  | 1,352,019,000
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: | 845,312,000 | 845,312,000 |  | 331,221,000
Money market funds | Level 1 | Fair Value, Recurring |  |  |  |
Cash and cash equivalents: |  |  |  |
Cash and cash equivalents: | 845,312,000 | 845,312,000 |  | 331,221,000
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 Payments To Acquire Non Marketable Securities + References No definition available. + Details
Name: | mdb_PaymentsToAcquireNonMarketableSecurities
Namespace Prefix: | mdb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + 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 unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References No definition available. + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of realized and unrealized gain (loss) on investment. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27405-111563 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.7(c),9(a)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 Reference 3: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_GainLossOnInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Value of the not readily marketable security or category which has been determined by management based upon fair value methods, including pricing of similar securities and valuation techniques and is included in the schedule of financial condition or the balance sheet. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 940 -SubTopic 820 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=35710923&loc=d3e45360-110995 + Details
Name: | us-gaap_SecurityOwnedNotReadilyMarketableFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_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: |