XML 38 R27.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Note 1 - Basis of Presentation (Details Textual) - Merger of Liberty Bank, N.A. into The Middlefield Banking Company [Member] $ / shares in Units, $ in Thousands | Jan. 12, 2017 USD ($) $ / shares shares
--- | ---
Business Combination, Merger Agreement, Cash Per Share of Reporting Entity Common Stock | $ / shares | $ 37.96
Business Combination, Merger Agreement, Ratio of Shares of Reporting Entity's Common Stock for Each Share of Acquired Entity's Common Stock | 1.1934
Business Acquisition, Equity Interest Issued or Issuable, Number of Shares | 544,610
Business Combination, Consideration Transferred | $ | $ 42,168

X
- Definition Represents the cash paid, or to be paid, per share of the reporting entity's common stock. + References No definition available. + Details
Name: | mbcn_BusinessCombinationMergerAgreementConsiderationCashPerShareOfReportingEntityCommonStock
Namespace Prefix: | mbcn_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents the ratio of the shares of the reporting entity's common stock for each share of the acquired entity's common stock. + References No definition available. + Details
Name: | mbcn_BusinessCombinationMergerAgreementRatioOfSharesOfReportingEntitysCommonStockForEachShareOfAcquiredEntitysCommonStock
Namespace Prefix: | mbcn_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares of equity interests issued or issuable to acquire entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(4) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6578-128477 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6613-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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