XML 61 R51.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Net Loss Per Share - Schedule of Antidilutive Securities Excluded from the Computation of Diluted Net Loss per Share (Details) - shares | 3 Months Ended | 9 Months Ended
--- | --- | ---
Oct. 31, 2022 | Oct. 31, 2021 | Oct. 31, 2022 | Oct. 31, 2021
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 11,476,410 | 12,124,969 | 11,577,314 | 12,794,915
Stock options to purchase common stock | Class A Common Stock |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 549,089 | 722,070 | 584,933 | 818,589
Stock options to purchase common stock | Class B Common Stock |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 1,537,192 | 2,250,736 | 1,680,349 | 2,476,270
Unvested restricted stock units |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 3,879,249 | 3,679,734 | 3,801,137 | 3,745,955
Unvested executive PSUs |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 65,844 | 0 | 65,844 | 0
Early exercised stock options |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 0 | 0 | 0 | 136
Shares underlying the conversion option of the 2024 Notes | 2024 Notes |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 0 | 27,337 | 0 | 308,849
Shares underlying the conversion option of the 2024 Notes | 2026 Notes |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 5,445,036 | 5,445,092 | 5,445,051 | 5,445,116

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_RestrictedStockUnitsRSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_PerformanceSharesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=mdb_EarlyExercisedEmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_ConvertibleDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mdb_ConvertibleNotesDue2024Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mdb_ConvertibleNotesDue2026Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |