XML 54 R44.htm IDEA: XBRL DOCUMENT
v3.23.3

Loans - Risk Category of Loans by Portfolio Class (Detail) - USD ($) $ in Thousands | Sep. 30, 2023 | Dec. 31, 2022 | Sep. 30, 2022
--- | --- | --- | ---
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | $ 2,529,606 | $ 2,356,387 | $ 2,142,616
Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 225,370 | 220,514 | 204,787
Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | 123,971 | 128,926 | 128,818
Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs | $ 1,301,614 | 1,150,511 | $ 1,061,904
Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 242,301 |
Other Loan [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 29,818 |
1-2 [Member] | Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 9,912 |
1-2 [Member] | Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 5,857 |
1-2 [Member] | Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 8,718 |
1-2 [Member] | Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 780 |
3 [Member] | Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 47,405 |
3 [Member] | Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 33,671 |
3 [Member] | Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 370,035 |
3 [Member] | Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 67,506 |
3 [Member] | Other Loan [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 10,921 |
4 [Member] | Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 146,143 |
4 [Member] | Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 88,992 |
4 [Member] | Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 737,745 |
4 [Member] | Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 167,291 |
4 [Member] | Other Loan [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 18,897 |
5 [Member] | Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 10,389 |
5 [Member] | Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 228 |
5 [Member] | Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 9,751 |
5 [Member] | Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 3,592 |
6 [Member] | Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 6,665 |
6 [Member] | Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 178 |
6 [Member] | Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | 24,262 |
6 [Member] | Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Loans after net deferred loan fees and costs |  | $ 3,132 |

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_AccountsNotesAndLoansReceivableLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481990/310-10-45-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-4 + Details
Name: | us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=fmao_AgricultureRealEstateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=fmao_AgriculturalLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialRealEstatePortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=fmao_OtherLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=fmao_ExcellentAndGoodMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=fmao_SatisfactoryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=fmao_SatisfactoryMonitoredMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SpecialMentionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SubstandardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |