XML 49 R39.htm IDEA: XBRL DOCUMENT
v3.25.1

Investment Securities - Schedule of Unrealized Loss on Investments (Details) - USD ($) $ in Thousands | Mar. 31, 2025 | Dec. 31, 2024
--- | --- | ---
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | $ 16,744 | $ 27,496
Greater than or equal to 12 continuous months | 707,364 | 736,039
Total securities in a loss position | 724,108 | 763,535
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | (1,315) | (1,817)
Greater than or equal to 12 continuous months | (98,564) | (113,847)
Held-to-maturity, gross unrealized losses | (99,879) | (115,664)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 106,019 | 129,409
Available-for-sale, greater than 12 continuous months, fair value | 218,572 | 225,006
Available-for-sale, total securities in a loss position, fair value | 324,591 | 354,415
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (235) | (343)
Available-for-sale, greater than 12 continuous months, unrealized loss | (28,579) | (31,599)
Available-for-sale, total securities in a loss position, unrealized loss | (28,814) | (31,942)
Marketable Securities, Fair Value |  |
Marketable securities, less than 12 continuous months, fair value | 122,763 | 156,905
Marketable securities, greater than 12 continuous months, fair value | 925,936 | 961,045
Marketable securities, total securities in a loss position, fair value | 1,048,699 | 1,117,950
Marketable Securities, Continuous Unrealized Loss |  |
Marketable securities, less than 12 continuous months, unrealized loss | (1,550) | (2,160)
Marketable securities, greater than 12 continuous months, unrealized loss | (127,143) | (145,446)
Marketable securities, total securities in a loss position, unrealized loss | (128,693) | (147,606)
CMBS issued by FHLMC, FNMA and GNMA |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | 211,013 | 208,110
Total securities in a loss position | 211,013 | 208,110
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | (30,022) | (34,449)
Held-to-maturity, gross unrealized losses | (30,022) | (34,449)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 106,015 | 129,402
Available-for-sale, greater than 12 continuous months, fair value | 52,028 | 58,065
Available-for-sale, total securities in a loss position, fair value | 158,043 | 187,467
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | (235) | (343)
Available-for-sale, greater than 12 continuous months, unrealized loss | (3,724) | (4,634)
Available-for-sale, total securities in a loss position, unrealized loss | (3,959) | (4,977)
CMOs issued by FHLMC, FNMA and GNMA |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | 7,849 | 18,451
Greater than or equal to 12 continuous months | 172,218 | 172,805
Total securities in a loss position | 180,067 | 191,256
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | (1,156) | (1,623)
Greater than or equal to 12 continuous months | (13,548) | (16,869)
Held-to-maturity, gross unrealized losses | (14,704) | (18,492)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 0
Available-for-sale, greater than 12 continuous months, fair value | 33,697 | 33,749
Available-for-sale, total securities in a loss position, fair value | 33,697 | 33,749
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (5,163) | (6,321)
Available-for-sale, total securities in a loss position, unrealized loss | (5,163) | (6,321)
MBS pass-through securities issued by FHLMC, FNMA and GNMA |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | 3,380 | 3,487
Greater than or equal to 12 continuous months | 158,077 | 157,959
Total securities in a loss position | 161,457 | 161,446
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | (84) | (150)
Greater than or equal to 12 continuous months | (27,312) | (30,792)
Held-to-maturity, gross unrealized losses | (27,396) | (30,942)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 4 | 7
Available-for-sale, greater than 12 continuous months, fair value | 25,243 | 25,495
Available-for-sale, total securities in a loss position, fair value | 25,247 | 25,502
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (4,151) | (4,840)
Available-for-sale, total securities in a loss position, unrealized loss | (4,151) | (4,840)
SBA-backed securities |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | 1,337 | 1,452
Total securities in a loss position | 1,337 | 1,452
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | (45) | (61)
Held-to-maturity, gross unrealized losses | (45) | (61)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 0
Available-for-sale, greater than 12 continuous months, fair value | 279 | 309
Available-for-sale, total securities in a loss position, fair value | 279 | 309
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (16) | (23)
Available-for-sale, total securities in a loss position, unrealized loss | (16) | (23)
Debentures of government- sponsored agencies |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | 102,030 | 118,737
Total securities in a loss position | 102,030 | 118,737
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | (19,476) | (22,694)
Held-to-maturity, gross unrealized losses | (19,476) | (22,694)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 0
Available-for-sale, greater than 12 continuous months, fair value | 7,453 | 7,210
Available-for-sale, total securities in a loss position, fair value | 7,453 | 7,210
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (1,518) | (1,761)
Available-for-sale, total securities in a loss position, unrealized loss | (1,518) | (1,761)
U.S. Treasury securities |  |
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 0
Available-for-sale, greater than 12 continuous months, fair value | 11,026 | 10,815
Available-for-sale, total securities in a loss position, fair value | 11,026 | 10,815
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (993) | (1,205)
Available-for-sale, total securities in a loss position, unrealized loss | (993) | (1,205)
Obligations of state and political subdivisions |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | 5,515 | 5,558
Greater than or equal to 12 continuous months | 48,185 | 47,661
Total securities in a loss position | 53,700 | 53,219
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | (75) | (44)
Greater than or equal to 12 continuous months | (7,665) | (8,297)
Held-to-maturity, gross unrealized losses | (7,740) | (8,341)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 0
Available-for-sale, greater than 12 continuous months, fair value | 83,150 | 83,714
Available-for-sale, total securities in a loss position, fair value | 83,150 | 83,714
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (12,710) | (12,464)
Available-for-sale, total securities in a loss position, unrealized loss | (12,710) | (12,464)
Corporate bonds |  |
Debt Securities, Held-to-maturity, Fair Value |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | 14,504 | 29,315
Total securities in a loss position | 14,504 | 29,315
Debt Securities, Held-to-maturity, Unrealized Loss |  |
Less than 12 continuous months | 0 | 0
Greater than or equal to 12 continuous months | (496) | (685)
Held-to-maturity, gross unrealized losses | (496) | (685)
Debt Securities, Available-For-Sale, Fair Value |  |
Available-for-sale, less than 12 continuous months, fair value | 0 | 0
Available-for-sale, greater than 12 continuous months, fair value | 5,696 | 5,649
Available-for-sale, total securities in a loss position, fair value | 5,696 | 5,649
Debt Securities, Available-for-sale, Unrealized Loss |  |
Available-for-sale, less than 12 continuous months, unrealized loss | 0 | 0
Available-for-sale, greater than 12 continuous months, unrealized loss | (304) | (351)
Available-for-sale, total securities in a loss position, unrealized loss | $ (304) | $ (351)

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/exampleRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479081/326-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-5 + 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://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-5 + 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/exampleRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479081/326-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-5 + 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://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-5 + 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/exampleRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479081/326-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-4 + 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://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-6 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-4 + 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/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-6 + 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/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-6 + 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/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-6 + 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/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-6 + 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/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 + 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/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-7 + 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_CommercialMortgageBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember
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: |