XML 82 R69.htm IDEA: XBRL DOCUMENT
v3.19.1

Stockholders' Equity and Stock Plans - Narrative (Details) |  |  |  | 3 Months Ended | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Jan. 25, 2019 $ / shares | Nov. 27, 2018 | Jul. 01, 2017 shares | Mar. 31, 2018 USD ($) | Dec. 31, 2018 USD ($) $ / shares shares | Dec. 31, 2017 USD ($) $ / shares shares | Apr. 23, 2018 USD ($) | Jul. 06, 2017 $ / shares shares | May 11, 2010 shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Stock split ratio |  |  | 2 |  |  |  |  |  |  |
Shares withheld for tax withholding and exercise of options (in shares) |  |  |  |  |  | 46,794 | 24,416 |  |  |
Adjustments related to tax withholding and exercise of options for share-based compensation | $ |  |  |  |  |  | $ 1,700,000 | $ 801,000 |  |  |
Shares withheld for tax withholding and exercise of options, weighted average price (usd per share) | $ / shares |  |  |  |  |  | $ 36.28 | $ 32.82 |  |  |
Total compensation cost for share-based payment arrangements | $ |  |  |  |  |  | $ 1,700,000 | $ 1,300,000 |  |  |
Share-based compensation income tax benefit recognized | $ |  |  |  |  |  | 404,000 | 293,000 |  |  |
Unrecognized compensation expense | $ |  |  |  |  |  | $ 1,100,000 |  |  |  |
Period for recognizing unrecognized compensation expense |  |  |  |  |  | 1 year 10 months 25 days |  |  |  |
Excess tax benefits recorded as a reduction to income tax expense | $ |  |  |  |  |  | $ 484,000 | $ 214,000 |  |  |
Percentage of share ownership defining an acquiring person |  |  |  |  |  |  |  |  | 10.00% |
Preferred stock, authorized (in shares) |  |  |  |  |  | 5,000,000 | 5,000,000 |  |  |
Preferred stock, no par value (in dollars per share) | $ / shares |  |  |  |  |  | $ 0 | $ 0 |  |  |
Amount reclassified from AOCI to retained earnings representing stranded tax income effects | $ |  |  |  |  | $ 638,000 |  |  |  |  |
Stock repurchase program, authorized amount | $ |  |  |  |  |  |  |  | $ 25,000,000.0 |  |
Stock repurchased, net of commissions (in shares) |  |  |  |  |  | 171,217 |  |  |  |
Stock repurchased, net of commissions | $ |  |  |  |  |  | $ 7,012,000 |  |  |  |
Subsequent event |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Dividends declared per common share (usd per share) | $ / shares |  | $ 0.19 |  |  |  |  |  |  |  |
Restricted stock award |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Total grant-date fair value of option shares vested | $ |  |  |  |  |  | $ 967,000 | $ 473,000 |  |  |
Restricted stock award | During 2006 through 2014 |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Award vesting period |  |  |  |  |  | 5 years |  |  |  |
Expiration period of grants |  |  |  |  |  | 10 years |  |  |  |
Restricted stock award | During 2006 through 2014 | Vesting Rate, Year One |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Restricted stock award | During 2006 through 2014 | Vesting Rate, Year Two |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Restricted stock award | During 2006 through 2014 | Vesting Rate Year Three |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Restricted stock award | During 2006 through 2014 | Vesting Rate Year Four |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Restricted stock award | During 2006 through 2014 | Vesting Rate Year Five |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Stock options |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Expiration period of grants |  |  |  |  |  | 10 years |  |  |  |
Total grant-date fair value of option shares vested | $ |  |  |  |  |  | $ 543,000 | $ 449,000 |  |  |
Stock options | During 2006 through 2014 |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Award vesting period |  |  |  |  |  | 5 years |  |  |  |
Expiration period of grants |  |  |  |  |  | 10 years |  |  |  |
Stock options | During 2006 through 2014 | Vesting Rate, Year One |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Stock options | During 2006 through 2014 | Vesting Rate, Year Two |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Stock options | During 2006 through 2014 | Vesting Rate Year Three |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Stock options | During 2006 through 2014 | Vesting Rate Year Four |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Stock options | During 2006 through 2014 | Vesting Rate Year Five |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Stock options | Prior to 2016 |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Award vesting period |  |  |  |  |  | 4 years |  |  |  |
Expiration period of grants |  |  |  |  |  | 7 years |  |  |  |
Stock options | Prior to 2016 | Vesting Rate, Year One |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Stock options | Prior to 2016 | Immediately Upon Grant |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Stock options | Prior to 2016 | Vesting Rate, Year Two |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Stock options | Prior to 2016 | Vesting Rate Year Three |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Stock options | Prior to 2016 | Vesting Rate Year Four |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 20.00% |  |  |  |
Stock options | Subsequent To January 1, 2015 |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 33.00% |  |  |  |
Award vesting period |  |  |  |  |  | 3 years |  |  |  |
Expiration period of grants |  |  |  |  |  | 10 years |  |  |  |
Stock options | During 2016 |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 33.00% |  |  |  |
Award vesting period |  |  |  |  |  | 3 years |  |  |  |
Expiration period of grants |  |  |  |  |  | 10 years |  |  |  |
Performance shares |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Award vesting period |  |  |  |  |  | 3 years |  |  |  |
Minimum | Performance shares |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 0.00% |  |  |  |
Maximum | Performance shares |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  | 200.00% |  |  |  |
Director Stock Plan, 2010 |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Shares approved to be issued in common stock (in shares) |  |  |  |  |  |  |  |  |  | 300,000
Number of shares available for future grants under plan (in shares) |  |  |  |  |  | 214,398 |  |  |  |
Employee Stock Purchase Plan, 2007 |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Shares approved to be issued in common stock (in shares) |  |  |  | 400,000 |  |  |  |  |  |
Number of shares available for future grants under plan (in shares) |  |  |  |  |  | 383,870 |  |  |  |
Discount from closing market price at end of each quarter |  |  |  | 500.00% |  |  |  |  |  |
Employee Stock Purchase Plan, 2007 | Minimum |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Approved payroll deduction to purchase shares, percentage |  |  |  | 100.00% |  |  |  |  |  |
Employee Stock Purchase Plan, 2007 | Maximum |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Approved payroll deduction to purchase shares, percentage |  |  |  | 1500.00% |  |  |  |  |  |
The 2017 Equity Plan |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares available for future grants under plan (in shares) |  |  |  |  |  | 1,047,784 |  |  |  |
Common Stock | Director Stock Plan, 2010 |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Shares awarded in period from plan (in shares) |  |  |  |  |  | 5,470 | 5,756 |  |  |
Series A Junior Participating Preferred Stock |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Preferred stock, authorized (in shares) |  |  |  |  |  | 1,000,000 |  |  |  |
Preferred stock, no par value (in dollars per share) | $ / shares |  |  |  |  |  | $ 0 |  |  |  |
Retained Earnings |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Amount reclassified from AOCI to retained earnings representing stranded tax income effects | $ |  |  |  |  | $ 638,000 | $ 638,000 |  |  |  |
Common Stock |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Shares withheld for tax withholding and exercise of options (in shares) | [1] |  |  |  |  | 1,316 |  |  |  |
Stock repurchased, net of commissions (in shares) | [1] |  |  |  |  | 171,217 |  |  |  |
Stock repurchased, net of commissions | $ |  |  |  |  |  | $ 7,012,000 |  |  |  |
Series A Junior Participating Preferred Stock |  |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |  |
Exercise price of rights (in dollars per share) | $ / shares |  |  |  |  |  |  |  |  | $ 0.9 |
Number of securities called by each right (in shares) |  |  |  |  |  |  |  |  | 0.005 |
[1] | Share and per share data have been adjusted to reflect the two-for-one stock split effective November 27, 2018.

X
- Definition Adjustments Related To Tax Withholding And Exercise Of Options For Share-Based Compensation + References No definition available. + Details
Name: | bmrc_AdjustmentsRelatedToTaxWithholdingAndExerciseOfOptionsForShareBasedCompensation
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Approved Payroll Deduction to Purchase Shares, Percentage + References No definition available. + Details
Name: | bmrc_ShareBasedCompensationArrangementByShareBasedPaymentAwardApprovedPayrollDeductionToPurchaseSharesPercentage
Namespace Prefix: | bmrc_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share-based Compensation Arrangements by Share-based Payment Award, Options, Tax Withholding And Exercises in Period, Weighted Average Exercise Price + References No definition available. + Details
Name: | bmrc_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsTaxWithholdingAndExercisesinPeriodWeightedAverageExercisePrice
Namespace Prefix: | bmrc_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Shareholder Rights Plan, Percentage Of Share Ownership Defining Acquiring Person + References No definition available. + Details
Name: | bmrc_ShareholderRightsPlanPercentageOfShareOwnershipDefiningAcquiringPerson
Namespace Prefix: | bmrc_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of increase (decrease) in accumulated other comprehensive income (AOCI) for reclassification to retained earnings of tax effect from remeasurement of deferred tax pursuant to Tax Cuts and Jobs Act. + References No definition available. + Details
Name: | bmrc_TaxCutsAndJobsActOf2017ReclassificationFromAociToRetainedEarningsTaxEffect
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5047-113901 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 14.F) -URI http://asc.fasb.org/extlink&oid=115993241&loc=d3e301413-122809 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(4)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which each warrant or right may be converted. For example, but not limited to, each warrant may be converted into two shares. + References No definition available. + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate dividends declared during the period for each share of common stock outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 + Details
Name: | us-gaap_CommonStockDividendsPerShareDeclared
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operation, attributable to excess tax benefit for share-based compensation cost. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32687-109319 + Details
Name: | us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Unrecognized cost of unvested share-based compensation awards. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Weighted average period over which unrecognized compensation is expected to be recognized for equity-based compensation plans, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The total recognized tax benefit related to compensation cost for equity-based payment arrangements recognized in income during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Face amount per share of no-par value preferred stock nonredeemable or redeemable solely at the option of the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_PreferredStockNoParValue
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_PreferredStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Period which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Discount rate from fair value on purchase date that participants pay for shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPricePurchaseDate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
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_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maximum number of shares (or other type of equity) originally approved (usually by shareholders and board of directors), net of any subsequent amendments and adjustments, for awards under the equity-based compensation plan. As stock or unit options and equity instruments other than options are awarded to participants, the shares or units remain authorized and become reserved for issuance under outstanding awards (not necessarily vested). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of share instruments newly issued under a share-based compensation plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of vesting of share-based compensation awards. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of options vested. Excludes equity instruments other than options, for example, but not limited to, share units, stock appreciation rights, restricted stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition For net-share settlement of share-based awards when the employer settles employees' income tax withholding obligations, this element represents the number of shares the employees use to repay the employer. + References No definition available. + Details
Name: | us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockRepurchasedDuringPeriodShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockRepurchasedDuringPeriodValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Ratio applied to the conversion of stock split, for example but not limited to, one share converted to two or two shares converted to one. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SAB TOPIC 4.C) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187143-122770 + Details
Name: | us-gaap_StockholdersEquityNoteStockSplitConversionRatio1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardDateAxis=bmrc_AwardDateDuring2006Through2014Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=bmrc_RatablyYearOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=bmrc_RatablyYearTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=bmrc_RatablyYearThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=bmrc_RatablyYearFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=bmrc_RatablyYearFiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardDateAxis=bmrc_AwardDatePriorTo2016Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=bmrc_ImmediatelyUponGrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardDateAxis=bmrc_SubsequentToJanuary12015Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardDateAxis=bmrc_AwardDateDuring2016Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_PerformanceSharesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=bmrc_DirectorStockPlan2010Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=bmrc_EmployeeStockPurchasePlan2007Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=bmrc_The2017EquityPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_SeriesAPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=us-gaap_SeriesAPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |