XML 43 R31.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Convertible Senior Notes - Capped Calls (Details) - USD ($) $ / shares in Units, $ in Thousands, shares in Millions | 2 Months Ended | 9 Months Ended
--- | --- | ---
Jul. 31, 2018 | Oct. 31, 2018
Option Indexed to Issuer's Equity [Line Items] |  |
Purchase of capped calls | $ 37,100 | $ 37,086
Capped Calls |  |
Option Indexed to Issuer's Equity [Line Items] |  |
Strike price (in dollars per share) | $ 68.15 |
Cap price (in dollars per share) | $ 106.90 |
Capped Calls | Class A Common Stock |  |
Option Indexed to Issuer's Equity [Line Items] |  |
Underlying capped calls (in shares) | 4.4 |

X
- Definition Option Indexed To Issuer's Equity, Cap Price + References No definition available. + Details
Name: | mdb_OptionIndexedToIssuersEquityCapPrice
Namespace Prefix: | mdb_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of subsequent adjustments to additional paid in capital for convertible financial instruments where a component of equity and a component of debt are recognized. + References No definition available. + Details
Name: | us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_OptionIndexedToIssuersEquityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maximum number of shares that could be issued to net share settle a contract, if applicable. If a contract does not have a fixed or determinable maximum number of shares that may be required to be issued, disclose the fact that a potentially infinite number of shares could be issued to settle the contract. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 50 -Paragraph 5 -Subparagraph (b)(2),(c) -URI http://asc.fasb.org/extlink&oid=6445032&loc=d3e90205-114008 + Details
Name: | us-gaap_OptionIndexedToIssuersEquityShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exercise or strike price stated in the contract for options indexed to the issuer's equity shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 50 -Paragraph 5 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=6445032&loc=d3e90205-114008 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(1) -URI http://asc.fasb.org/extlink&oid=109262807&loc=d3e22047-110879 + Details
Name: | us-gaap_OptionIndexedToIssuersEquityStrikePrice1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_OptionIndexedToIssuersEquityEquityAxis=us-gaap_CallOptionMember
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: |