XML 47 R38.htm IDEA: XBRL DOCUMENT
v3.22.2

Investment Securities - Unrealized Loss Positions (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Dec. 31, 2021
--- | --- | ---
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | $ 721,038 | $ 201,204
Greater than or equal to 12 continuous months | 40,899 | 0
Total Securities in a loss position | 761,937 | 201,204
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (78,169) | (2,867)
Greater than or equal to 12 continuous months | (7,080) | 0
Held-to-maturity, gross unrealized losses | (85,249) | (2,867)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 850,687 | 797,781
Available-for-sale, greater than 12 continuous months, fair value | 23,349 | 14,173
Available-for-sale, total securities in a loss position, fair value | 874,036 | 811,954
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (63,542) | (12,411)
Available-for-sale, greater than 12 continuous months, unrealized loss | (3,768) | (615)
Available-for-sale, total securities in a loss position, unrealized loss | (67,310) | (13,026)
Marketable Securities, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Marketable securities, less than 12 continuous months, fair value | 1,571,725 | 998,985
Marketable securities, greater than 12 continuous months, fair value | 64,248 | 14,173
Marketable securities, total securities in a loss position, fair value | 1,635,973 | 1,013,158
Marketable Securities, Continuous Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Marketable securities, less than 12 continuous months, unrealized loss | (141,711) | (15,278)
Marketable securities, greater than 12 continuous months, unrealized loss | (10,848) | (615)
Marketable securities, total securities in a loss position, unrealized loss | (152,559) | (15,893)
MBS pass-through securities issued by FHLMC, FNMA and GNMA |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 302,998 | 76,619
Greater than or equal to 12 continuous months | 0 | 0
Total Securities in a loss position | 302,998 | 76,619
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (34,731) | (712)
Greater than or equal to 12 continuous months | 0 | 0
Held-to-maturity, gross unrealized losses | (34,731) | (712)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 113,127 | 263,474
Available-for-sale, greater than 12 continuous months, fair value | 0 | 0
Available-for-sale, total securities in a loss position, fair value | 113,127 | 263,474
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (8,784) | (2,784)
Available-for-sale, greater than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, total securities in a loss position, unrealized loss | (8,784) | (2,784)
CMOs issued by FHLMC |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 194,163 | 54,811
Greater than or equal to 12 continuous months | 4,018 | 0
Total Securities in a loss position | 198,181 | 54,811
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (20,136) | (1,045)
Greater than or equal to 12 continuous months | (630) | 0
Held-to-maturity, gross unrealized losses | (20,766) | (1,045)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 343,897 | 226,175
Available-for-sale, greater than 12 continuous months, fair value | 3,538 | 4,415
Available-for-sale, total securities in a loss position, fair value | 347,435 | 230,590
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (22,540) | (4,677)
Available-for-sale, greater than 12 continuous months, unrealized loss | (477) | (152)
Available-for-sale, total securities in a loss position, unrealized loss | (23,017) | (4,829)
CMOs issued by FNMA |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 67,069 |
Greater than or equal to 12 continuous months | 0 |
Total Securities in a loss position | 67,069 |
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (2,574) |
Greater than or equal to 12 continuous months | 0 |
Held-to-maturity, gross unrealized losses | (2,574) |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 33,201 | 37,348
Available-for-sale, greater than 12 continuous months, fair value | 4,156 | 0
Available-for-sale, total securities in a loss position, fair value | 37,357 | 37,348
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (2,674) | (611)
Available-for-sale, greater than 12 continuous months, unrealized loss | (286) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (2,960) | (611)
CMOs issued by GNMA |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 11,347 |
Greater than or equal to 12 continuous months | 0 |
Total Securities in a loss position | 11,347 |
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (982) |
Greater than or equal to 12 continuous months | 0 |
Held-to-maturity, gross unrealized losses | (982) |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 34,696 | 44,790
Available-for-sale, greater than 12 continuous months, fair value | 0 | 0
Available-for-sale, total securities in a loss position, fair value | 34,696 | 44,790
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (2,414) | (553)
Available-for-sale, greater than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, total securities in a loss position, unrealized loss | (2,414) | (553)
SBA-backed securities |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 3,178 |
Greater than or equal to 12 continuous months | 0 |
Total Securities in a loss position | 3,178 |
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (66) |
Greater than or equal to 12 continuous months | 0 |
Held-to-maturity, gross unrealized losses | (66) |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 51,556 | 7,478
Available-for-sale, greater than 12 continuous months, fair value | 1,059 | 1,209
Available-for-sale, total securities in a loss position, fair value | 52,615 | 8,687
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (2,091) | (112)
Available-for-sale, greater than 12 continuous months, unrealized loss | (42) | (43)
Available-for-sale, total securities in a loss position, unrealized loss | (2,133) | (155)
Debentures of government- sponsored agencies |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 61,339 | 50,571
Greater than or equal to 12 continuous months | 36,881 | 0
Total Securities in a loss position | 98,220 | 50,571
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (11,007) | (901)
Greater than or equal to 12 continuous months | (6,450) | 0
Held-to-maturity, gross unrealized losses | (17,457) | (901)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 132,004 | 148,979
Available-for-sale, greater than 12 continuous months, fair value | 7,336 | 8,549
Available-for-sale, total securities in a loss position, fair value | 139,340 | 157,528
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (8,126) | (2,527)
Available-for-sale, greater than 12 continuous months, unrealized loss | (1,633) | (420)
Available-for-sale, total securities in a loss position, unrealized loss | (9,759) | (2,947)
U.S. Treasury securities |  |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 10,644 | 11,629
Available-for-sale, greater than 12 continuous months, fair value | 0 | 0
Available-for-sale, total securities in a loss position, fair value | 10,644 | 11,629
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (1,251) | (256)
Available-for-sale, greater than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, total securities in a loss position, unrealized loss | (1,251) | (256)
Obligations of state and political subdivisions |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 51,313 | 19,203
Greater than or equal to 12 continuous months | 0 | 0
Total Securities in a loss position | 51,313 | 19,203
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (8,304) | (209)
Greater than or equal to 12 continuous months | 0 | 0
Held-to-maturity, gross unrealized losses | (8,304) | (209)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 101,078 | 17,552
Available-for-sale, greater than 12 continuous months, fair value | 2,001 | 0
Available-for-sale, total securities in a loss position, fair value | 103,079 | 17,552
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (13,425) | (381)
Available-for-sale, greater than 12 continuous months, unrealized loss | (600) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (14,025) | (381)
Corporate bonds |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 29,631 |
Greater than or equal to 12 continuous months | 0 |
Total Securities in a loss position | 29,631 |
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (369) |
Greater than or equal to 12 continuous months | 0 |
Held-to-maturity, gross unrealized losses | (369) |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 28,833 | 38,495
Available-for-sale, greater than 12 continuous months, fair value | 5,259 | 0
Available-for-sale, total securities in a loss position, fair value | 34,092 | 38,495
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (2,167) | (506)
Available-for-sale, greater than 12 continuous months, unrealized loss | (730) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (2,897) | (506)
Asset-backed securities |  |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 1,651 | 1,861
Available-for-sale, greater than 12 continuous months, fair value | 0 | 0
Available-for-sale, total securities in a loss position, fair value | 1,651 | 1,861
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (70) | (4)
Available-for-sale, greater than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, total securities in a loss position, unrealized loss | $ (70) | $ (4)

X
- Definition Available-for-sale Securities and Held-to-maturity Securities, Continuous Unrealized Loss Position, Fair Value, Total + References No definition available. + Details
Name: | bmrc_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValueTotal
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Available-for-sale Securities and Held-to-maturity Securities, Continuous Unrealized Loss Position, Less than Twelve Months, Fair Value + References No definition available. + Details
Name: | bmrc_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Available-for-sale Securities and Held-to-maturity Securities, Continuous Unrealized Loss Position, Twelve Months or Longer, Fair Value + References No definition available. + Details
Name: | bmrc_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Available-for-sale Securities and Held-to-maturity Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss + References No definition available. + Details
Name: | bmrc_AvailableforsaleSecuritiesandHeldtomaturitySecuritiesContinuousUnrealizedLossPosition12MonthsorLongerAccumulatedLoss
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Available-for-sale Securities and Held-to-maturity Securities, Continuous Unrealized Loss Position, Accumulated Loss + References No definition available. + Details
Name: | bmrc_AvailableforsaleSecuritiesandHeldtomaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Available-for-sale Securities and Held-to-maturity Securities, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss + References No definition available. + Details
Name: | bmrc_AvailableforsaleSecuritiesandHeldtomaturitySecuritiesContinuousUnrealizedLossPositionLessthan12MonthsAccumulatedLoss
Namespace Prefix: | bmrc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] + References No definition available. + Details
Name: | bmrc_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionFairValueAbstract
Namespace Prefix: | bmrc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Marketable Securities, Continuous Unrealized Loss Position, Accumulated Loss [Abstract] + References No definition available. + Details
Name: | bmrc_MarketableSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract
Namespace Prefix: | bmrc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Marketable Securities, Continuous Unrealized Loss Position, Fair Value [Abstract] + References No definition available. + Details
Name: | bmrc_MarketableSecuritiesContinuousUnrealizedLossPositionFairValueAbstract
Namespace Prefix: | bmrc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for more than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for 12 months or longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position. + 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 (a)(2) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position. + 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 (a)(1) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for less than 12 months. + 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 (a)(2) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for less than 12 months. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for 12 months or longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_GovernmentNationalMortgageAssociationGnmaInsuredLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=bmrc_SmallBusinessAdministrationSBABackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USStatesAndPoliticalSubdivisionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateBondSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_AssetBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |