XML 74 R62.htm IDEA: XBRL DOCUMENT
v3.22.4

Investment Securities - Unrealized Loss Positions (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | $ 359,313 | $ 201,204
Greater than or equal to 12 continuous months | 459,948 | 0
Total Securities in a loss position | 819,261 | 201,204
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (23,733) | (2,867)
Greater than or equal to 12 continuous months | (103,305) | 0
Held-to-maturity, gross unrealized losses | (127,038) | (2,867)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 354,695 | 797,781
Available-for-sale, greater than 12 continuous months, fair value | 443,274 | 14,173
Available-for-sale, total securities in a loss position, fair value | 797,969 | 811,954
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (33,887) | (12,411)
Available-for-sale, greater than 12 continuous months, unrealized loss | (56,656) | (615)
Available-for-sale, total securities in a loss position, unrealized loss | (90,543) | (13,026)
Marketable Securities, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Marketable securities, less than 12 continuous months, fair value | 714,008 | 998,985
Marketable securities, greater than 12 continuous months, fair value | 903,222 | 14,173
Marketable securities, total securities in a loss position, fair value | 1,617,230 | 1,013,158
Marketable Securities, Continuous Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Marketable securities, less than 12 continuous months, unrealized loss | (57,620) | (15,278)
Marketable securities, greater than 12 continuous months, unrealized loss | (159,961) | (615)
Marketable securities, total securities in a loss position, unrealized loss | (217,581) | (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 | 62,627 | 76,619
Greater than or equal to 12 continuous months | 218,507 | 0
Total Securities in a loss position | 281,134 | 76,619
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (5,960) | (712)
Greater than or equal to 12 continuous months | (44,187) | 0
Held-to-maturity, gross unrealized losses | (50,147) | (712)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 44,630 | 263,474
Available-for-sale, greater than 12 continuous months, fair value | 52,235 | 0
Available-for-sale, total securities in a loss position, fair value | 96,865 | 263,474
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (4,501) | (2,784)
Available-for-sale, greater than 12 continuous months, unrealized loss | (7,632) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (12,133) | (2,784)
CMOs issued by FHLMC |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 78,144 | 54,811
Greater than or equal to 12 continuous months | 113,796 | 0
Total Securities in a loss position | 191,940 | 54,811
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (5,874) | (1,045)
Greater than or equal to 12 continuous months | (23,629) | 0
Held-to-maturity, gross unrealized losses | (29,503) | (1,045)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 169,760 | 226,175
Available-for-sale, greater than 12 continuous months, fair value | 143,995 | 4,415
Available-for-sale, total securities in a loss position, fair value | 313,755 | 230,590
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (15,144) | (4,677)
Available-for-sale, greater than 12 continuous months, unrealized loss | (18,538) | (152)
Available-for-sale, total securities in a loss position, unrealized loss | (33,682) | (4,829)
CMOs issued by FNMA |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 106,485 |
Greater than or equal to 12 continuous months | 0 |
Total Securities in a loss position | 106,485 |
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (5,419) |
Greater than or equal to 12 continuous months | 0 |
Held-to-maturity, gross unrealized losses | (5,419) |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 4,790 | 37,348
Available-for-sale, greater than 12 continuous months, fair value | 27,529 | 0
Available-for-sale, total securities in a loss position, fair value | 32,319 | 37,348
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (235) | (611)
Available-for-sale, greater than 12 continuous months, unrealized loss | (3,617) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (3,852) | (611)
CMOs issued by GNMA |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 27,570 |
Greater than or equal to 12 continuous months | 10,331 |
Total Securities in a loss position | 37,901 |
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (1,676) |
Greater than or equal to 12 continuous months | (1,400) |
Held-to-maturity, gross unrealized losses | (3,076) |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 8,214 | 44,790
Available-for-sale, greater than 12 continuous months, fair value | 23,612 | 0
Available-for-sale, total securities in a loss position, fair value | 31,826 | 44,790
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (374) | (553)
Available-for-sale, greater than 12 continuous months, unrealized loss | (2,922) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (3,296) | (553)
SBA-backed securities |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 2,239 |
Greater than or equal to 12 continuous months | 0 |
Total Securities in a loss position | 2,239 |
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (133) |
Greater than or equal to 12 continuous months | 0 |
Held-to-maturity, gross unrealized losses | (133) |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 37,845 | 7,478
Available-for-sale, greater than 12 continuous months, fair value | 6,133 | 1,209
Available-for-sale, total securities in a loss position, fair value | 43,978 | 8,687
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (3,228) | (112)
Available-for-sale, greater than 12 continuous months, unrealized loss | (143) | (43)
Available-for-sale, total securities in a loss position, unrealized loss | (3,371) | (155)
Debentures of government sponsored agencies |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 38,645 | 50,571
Greater than or equal to 12 continuous months | 80,711 | 0
Total Securities in a loss position | 119,356 | 50,571
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (2,530) | (901)
Greater than or equal to 12 continuous months | (23,937) | 0
Held-to-maturity, gross unrealized losses | (26,467) | (901)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 19,054 | 148,979
Available-for-sale, greater than 12 continuous months, fair value | 116,052 | 8,549
Available-for-sale, total securities in a loss position, fair value | 135,106 | 157,528
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (946) | (2,527)
Available-for-sale, greater than 12 continuous months, unrealized loss | (13,062) | (420)
Available-for-sale, total securities in a loss position, unrealized loss | (14,008) | (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,269 | 0
Available-for-sale, total securities in a loss position, fair value | 10,269 | 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,635) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (1,635) | (256)
Obligations of state and political subdivisions |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 15,155 | 19,203
Greater than or equal to 12 continuous months | 36,603 | 0
Total Securities in a loss position | 51,758 | 19,203
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (589) | (209)
Greater than or equal to 12 continuous months | (10,152) | 0
Held-to-maturity, gross unrealized losses | (10,741) | (209)
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 70,402 | 17,552
Available-for-sale, greater than 12 continuous months, fair value | 28,711 | 0
Available-for-sale, total securities in a loss position, fair value | 99,113 | 17,552
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (9,459) | (381)
Available-for-sale, greater than 12 continuous months, unrealized loss | (5,302) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (14,761) | (381)
Corporate bonds |  |
Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Less than 12 continuous months | 28,448 |
Greater than or equal to 12 continuous months | 0 |
Total Securities in a loss position | 28,448 |
Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Less than 12 continuous months | (1,552) |
Greater than or equal to 12 continuous months | 0 |
Held-to-maturity, gross unrealized losses | (1,552) |
Debt Securities, Available-For-Sale, Continuous Unrealized Loss Position, Fair Value [Abstract] |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 38,495
Available-for-sale, greater than 12 continuous months, fair value | 33,276 | 0
Available-for-sale, total securities in a loss position, fair value | 33,276 | 38,495
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | (506)
Available-for-sale, greater than 12 continuous months, unrealized loss | (3,714) | 0
Available-for-sale, total securities in a loss position, unrealized loss | (3,714) | (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 | 0 | 1,861
Available-for-sale, greater than 12 continuous months, fair value | 1,462 | 0
Available-for-sale, total securities in a loss position, fair value | 1,462 | 1,861
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | (4)
Available-for-sale, greater than 12 continuous months, unrealized loss | (91) | 0
Available-for-sale, total securities in a loss position, unrealized loss | $ (91) | $ (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: |