XML 48 R39.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Investment Securities - Unrealized Loss Positions (Details) - USD ($) $ in Thousands | Sep. 30, 2022 | Dec. 31, 2021
--- | --- | ---
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | $ 597,282 | $ 201,204
Greater than or equal to 12 continuous months | 221,768 | 0
Total Securities in a loss position | 819,050 | 201,204
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (76,898) | (2,867)
Greater than or equal to 12 continuous months | (53,921) | 0
Held-to-maturity, gross unrealized losses | (130,819) | (2,867)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 540,739 | 797,781
Available-for-sale, greater than 12 continuous months, fair value | 270,350 | 14,173
Available-for-sale, total securities in a loss position, fair value | 811,089 | 811,954
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (58,206) | (12,411)
Available-for-sale, greater than 12 continuous months, unrealized loss | (40,784) | (615)
Available-for-sale, total securities in a loss position, unrealized loss | (98,990) | (13,026)
Marketable Securities, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Marketable securities, less than 12 continuous months, fair value | 1,138,021 | 998,985
Marketable securities, greater than 12 continuous months, fair value | 492,118 | 14,173
Marketable securities, total securities in a loss position, fair value | 1,630,139 | 1,013,158
Marketable Securities, Continuous Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Marketable securities, less than 12 continuous months, unrealized loss | (135,104) | (15,278)
Marketable securities, greater than 12 continuous months, unrealized loss | (94,705) | (615)
Marketable securities, total securities in a loss position, unrealized loss | (229,809) | (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 | 203,739 | 76,619
Greater than or equal to 12 continuous months | 78,562 | 0
Total Securities in a loss position | 282,301 | 76,619
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (36,140) | (712)
Greater than or equal to 12 continuous months | (17,519) | 0
Held-to-maturity, gross unrealized losses | (53,659) | (712)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 54,639 | 263,474
Available-for-sale, greater than 12 continuous months, fair value | 44,711 | 0
Available-for-sale, total securities in a loss position, fair value | 99,350 | 263,474
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (6,702) | (2,784)
Available-for-sale, greater than 12 continuous months, unrealized loss | (7,000) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (13,702) | (2,784)
CMOs issued by FHLMC |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 144,517 | 54,811
Greater than or equal to 12 continuous months | 51,272 | 0
Total Securities in a loss position | 195,789 | 54,811
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (18,126) | (1,045)
Greater than or equal to 12 continuous months | (12,146) | 0
Held-to-maturity, gross unrealized losses | (30,272) | (1,045)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 192,988 | 226,175
Available-for-sale, greater than 12 continuous months, fair value | 128,923 | 4,415
Available-for-sale, total securities in a loss position, fair value | 321,911 | 230,590
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (17,898) | (4,677)
Available-for-sale, greater than 12 continuous months, unrealized loss | (17,677) | (152)
Available-for-sale, total securities in a loss position, unrealized loss | (35,575) | (4,829)
CMOs issued by FNMA |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 108,978 |
Greater than or equal to 12 continuous months | 0 |
Total Securities in a loss position | 108,978 |
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (6,066) |
Greater than or equal to 12 continuous months | 0 |
Held-to-maturity, gross unrealized losses | (6,066) |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 7,310 | 37,348
Available-for-sale, greater than 12 continuous months, fair value | 26,638 | 0
Available-for-sale, total securities in a loss position, fair value | 33,948 | 37,348
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (514) | (611)
Available-for-sale, greater than 12 continuous months, unrealized loss | (3,663) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (4,177) | (611)
CMOs issued by GNMA |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 19,059 |
Greater than or equal to 12 continuous months | 10,807 |
Total Securities in a loss position | 29,866 |
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (735) |
Greater than or equal to 12 continuous months | (1,469) |
Held-to-maturity, gross unrealized losses | (2,204) |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 11,248 | 44,790
Available-for-sale, greater than 12 continuous months, fair value | 22,039 | 0
Available-for-sale, total securities in a loss position, fair value | 33,287 | 44,790
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (399) | (553)
Available-for-sale, greater than 12 continuous months, unrealized loss | (3,060) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (3,459) | (553)
SBA-backed securities |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 2,230 |
Greater than or equal to 12 continuous months | 0 |
Total Securities in a loss position | 2,230 |
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (143) |
Greater than or equal to 12 continuous months | 0 |
Held-to-maturity, gross unrealized losses | (143) |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 37,629 | 7,478
Available-for-sale, greater than 12 continuous months, fair value | 6,649 | 1,209
Available-for-sale, total securities in a loss position, fair value | 44,278 | 8,687
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (3,443) | (112)
Available-for-sale, greater than 12 continuous months, unrealized loss | (142) | (43)
Available-for-sale, total securities in a loss position, unrealized loss | (3,585) | (155)
Debentures of government- sponsored agencies |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 54,445 | 50,571
Greater than or equal to 12 continuous months | 66,109 | 0
Total Securities in a loss position | 120,554 | 50,571
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (6,704) | (901)
Greater than or equal to 12 continuous months | (18,489) | 0
Held-to-maturity, gross unrealized losses | (25,193) | (901)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 128,077 | 148,979
Available-for-sale, greater than 12 continuous months, fair value | 6,844 | 8,549
Available-for-sale, total securities in a loss position, fair value | 134,921 | 157,528
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (12,060) | (2,527)
Available-for-sale, greater than 12 continuous months, unrealized loss | (2,125) | (420)
Available-for-sale, total securities in a loss position, unrealized loss | (14,185) | (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 | 0 | 11,629
Available-for-sale, greater than 12 continuous months, fair value | 10,159 | 0
Available-for-sale, total securities in a loss position, fair value | 10,159 | 11,629
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | (256)
Available-for-sale, greater than 12 continuous months, unrealized loss | (1,741) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (1,741) | (256)
Obligations of state and political subdivisions |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 35,899 | 19,203
Greater than or equal to 12 continuous months | 15,018 | 0
Total Securities in a loss position | 50,917 | 19,203
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (7,399) | (209)
Greater than or equal to 12 continuous months | (4,298) | 0
Held-to-maturity, gross unrealized losses | (11,697) | (209)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 84,021 | 17,552
Available-for-sale, greater than 12 continuous months, fair value | 14,406 | 0
Available-for-sale, total securities in a loss position, fair value | 98,427 | 17,552
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (15,366) | (381)
Available-for-sale, greater than 12 continuous months, unrealized loss | (3,368) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (18,734) | (381)
Corporate bonds |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 28,415 |
Greater than or equal to 12 continuous months | 0 |
Total Securities in a loss position | 28,415 |
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (1,585) |
Greater than or equal to 12 continuous months | 0 |
Held-to-maturity, gross unrealized losses | (1,585) |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 23,221 | 38,495
Available-for-sale, greater than 12 continuous months, fair value | 9,981 | 0
Available-for-sale, total securities in a loss position, fair value | 33,202 | 38,495
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (1,779) | (506)
Available-for-sale, greater than 12 continuous months, unrealized loss | (2,008) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (3,787) | (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,606 | 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,606 | 1,861
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (45) | (4)
Available-for-sale, greater than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, total securities in a loss position, unrealized loss | $ (45) | $ (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: |