XML 52 R42.htm IDEA: XBRL DOCUMENT
v3.23.1

Loans - Amortized Cost of Nonaccrual Loans by Portfolio Class of Loans (Detail) - USD ($) $ in Thousands | Mar. 31, 2023 | Dec. 31, 2022 | Mar. 31, 2022
--- | --- | --- | ---
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans |  | $ 4,689 | $ 8,581
Consumer Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans |  | 612 |
Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans |  | 1,921 |
Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans |  | 152 |
Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans |  | 903 |
Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans |  | 1,096 |
Consumer [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans |  | $ 5 |
Nonaccrual With No Allowance For Credit Loss [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans | $ 6,876 |  |
Nonaccrual With No Allowance For Credit Loss [Member] | Consumer Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans | 912 |  |
Nonaccrual With No Allowance For Credit Loss [Member] | Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans | 5,503 |  |
Nonaccrual With No Allowance For Credit Loss [Member] | Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans | 61 |  |
Nonaccrual With No Allowance For Credit Loss [Member] | Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans | 268 |  |
Nonaccrual With No Allowance For Credit Loss [Member] | Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans | 111 |  |
Nonaccrual With No Allowance For Credit Loss [Member] | Consumer [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans | 21 |  |
Nonaccrual [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans | 7,713 |  |
Nonaccrual [Member] | Consumer Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans | 912 |  |
Nonaccrual [Member] | Agricultural Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans | 5,503 |  |
Nonaccrual [Member] | Agricultural [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans | 61 |  |
Nonaccrual [Member] | Commercial Real Estate [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans | 268 |  |
Nonaccrual [Member] | Commercial and Industrial [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans | 948 |  |
Nonaccrual [Member] | Consumer [Member] |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |
Investment in nonaccrual loans | $ 21 |  |

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 Amortized cost of financing receivable on nonaccrual status. Excludes net investment in lease. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 16 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1405 -Paragraph (a) -Subparagraph (3) Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1405 -Paragraph (a) -Subparagraph (2) + Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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=us-gaap_ConsumerPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=fmao_NonaccrualWithNoAllowanceForCreditLossMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=fmao_NonaccrualMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |