XML 50 R39.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Note 7 - Investment and Equity Securities (Details Textual) - USD ($) | 3 Months Ended |
--- | --- | ---
Mar. 31, 2018 | Mar. 31, 2017 | Dec. 31, 2017
Security Owned and Pledged as Collateral, Fair Value, Total | $ 61,700,000 |  | $ 57,900,000
Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Total | 82 |  |
Available-for-sale Securities, Percentage of Portfolio | 100.00% |  |
Other than Temporary Impairment, Credit Losses Recognized in Earnings, Credit Losses on Debt Securities Held, Ending Balance | $ 0 |  |
Other-than-temporary Impairment Loss, Debt Securities, Available-for-sale, Total | $ 0 | $ 0 |
Merger of Liberty Bank, N.A. into The Middlefield Banking Company [Member] |  |  |
Business Combination, Step Acquisition, Equity Interest in Acquiree, Remeasurement Gain |  | $ 488,000 |

X
- Definition Represents a percentage of the available-for-sale securities portfolio. + References No definition available. + Details
Name: | mbcn_PercentageOfPortfolio
Namespace Prefix: | mbcn_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of investment positions in available-for-sale investments in a continuous unrealized loss position for which an other-than-temporary impairment (OTTI) has not been recognized in the income statement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27290-111563 + Details
Name: | us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition In a business combination achieved in stages, this element represents the amount of gain recognized by the entity as a result of remeasuring to fair value the equity interest in the acquiree it held before the business combination. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (g)(2) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cumulative amount of credit losses recognized in earnings related to debt securities held for which a portion of an other than temporary impairment (OTTI) was recognized in other comprehensive income (a component of shareholders' equity). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 8B -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82897076&loc=SL6284393-111563 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 8B -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=82897076&loc=SL6284393-111563 + Details
Name: | us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeld
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of other-than-temporary impairment (OTTI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), recognized in earnings and other comprehensive loss (OCI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 8A -URI http://asc.fasb.org/extlink&oid=109979856&loc=SL6284422-111562 + Details
Name: | us-gaap_OtherThanTemporaryImpairmentLossDebtSecuritiesAvailableForSale
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Fair value of financial instrument held by the entity for its own account (proprietary securities) for trading or investment purposes that are carried at fair value and pledged to counterparties as collateral for financing transactions. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 30 -Section 50 -Paragraph 1A -Subparagraph (b)(1)(i) -URI http://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728 + Details
Name: | us-gaap_SecurityOwnedAndPledgedAsCollateralFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mbcn_MergerOfLibertyBankNAIntoTheMiddlefieldBankingCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |