XML 53 R41.htm IDEA: XBRL DOCUMENT
v3.10.0.1

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, 2018 | Oct. 31, 2017 | Oct. 31, 2018 | Oct. 31, 2017
Redeemable convertible preferred stock (as converted) |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 0 | 24,316,192 | 0 | 26,045,352
Redeemable convertible preferred stock warrants (as converted) |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 0 | 1,339 | 0 | 30,122
Common stock warrants |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 0 | 116,485 | 0 | 120,190
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) | 3,046,631 | 3,258,405 | 3,315,885 | 2,207,524
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) | 7,137,570 | 9,321,627 | 8,136,949 | 9,783,945
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) | 1,707,692 | 54,550 | 1,265,391 | 54,550
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) | 94,026 | 318,240 | 146,248 | 236,231
Shares underlying the conversion spread in the convertible senior notes |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 215,879 | 0 | 71,960 | 0

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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&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_RedeemableConvertiblePreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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