XML 18 R6.htm IDEA: XBRL DOCUMENT
v3.8.0.1

CONSOLIDATED STATEMENT OF CHANGES IN STOCKHOLDERS' EQUITY (Parenthetical) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2017 USD ($)
Statement of Stockholders' Equity [Abstract] |
Fractional shares issued in acquisition, payment | $ 14

X
- Definition Stockholders' Equity, Shares Issued For Acquisition, Fractional Shares, Value + References No definition available. + Details
Name: | bmrc_StockholdersEquitySharesIssuedForAcquisitionFractionalSharesValue
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_StatementOfStockholdersEquityAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration