XML 44 R34.htm IDEA: XBRL DOCUMENT
v3.23.1

Securities - Additional Information (Detail) - USD ($) $ in Thousands | 3 Months Ended |
--- | --- | ---
Mar. 31, 2023 | Dec. 31, 2022
Schedule of Available-for-sale Securities [Line Items] |  |
Investments pledged, carrying value | $ 164,000 | $ 134,800
Other securities | 11,543 | 9,799
Total committed securities | 4,000 | 4,000
Federal Home Loan Bank of Cincinnati and Indianapolis Stock [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Other securities | 9,800 | 8,100
Ohio Equity Fund for Housing Limited Partnership [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Other securities | $ 1,700 | $ 1,700
Minimum [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Underwater security | 10 years |
Loss position existed | 3 years |

X
- Definition For under water securities loss position expiration period. + References No definition available. + Details
Name: | fmao_ForUnderWaterSecuritiesLossPositionExpirationPeriod
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maturity period for under water securities. + References No definition available. + Details
Name: | fmao_MaturityPeriodForUnderWaterSecurities
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after allowance for credit loss, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), investment in debt security measured at amortized cost (held-to-maturity), and investment in debt security measured at fair value with change in fair value recognized in net income (trading). + References No definition available. + Details
Name: | us-gaap_DebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investments classified as other. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(12)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.1(f,g)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_OtherInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Includes other investments and securities that are not at fair value as of the balance sheet date and those that are not accounted for under the equity method. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(5)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(18)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_OtherInvestmentsAndSecuritiesAtCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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

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