XML 59 R52.htm IDEA: XBRL DOCUMENT
v3.25.1

Loans (Impaired Loans) - Additional Information (Detail) | 3 Months Ended | 9 Months Ended |  |
--- | --- | --- | --- | ---
Mar. 31, 2025 USD ($) Contract Loan | Mar. 31, 2024 USD ($) Contract | Mar. 31, 2025 USD ($) Loan | Dec. 31, 2024 USD ($) | Jan. 01, 2023 USD ($)
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |  |
Modifications to borrower experiencing financial difficulty | $ 0 | $ 0 |  |  |
Maximum time for re-evaluation (in months) | 12 months |  |  |  |
Re-evaluation period for real estate | 2 years |  |  |  |
Unsecured consumer loans, credit card credits and overdraft lines of credit reach | 90 days |  |  |  |
Delinquent period for charging down consumer loans | 90 days |  |  |  |
Litigation and any deficiency charged off period | 150 days |  |  |  |
Delinquent period for charging down/allocated commercial and agricultural credits | 120 days |  |  |  |
Number of contracts modified | 0 | 0 | 0 |  |
Number of modified contract paid off | Contract |  | 1 |  |  |
Principal Forgiveness [Member] |  |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |  |
Number of contracts modified | Contract | 0 |  |  |  |
Consumer Real Estate [Member] |  |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |  |
Foreclosed residential real estate property | $ 0 | $ 0 | $ 0 | $ 0 |
Residential real estate properties foreclosure proceedings | $ 1,900,000 | $ 270,000 | $ 1,900,000 | $ 1,300,000 |
ASU 2016-13 [Member] |  |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |  |
Allowance for credit losses on loans and unfunded commitments |  |  |  |  | $ 4,500,000
Allowance for credit losses on loans and unfunded commitments net of tax |  |  |  |  | $ 3,400,000

X
- Definition Allowance for credit losses on loans and unfunded commitments. + References No definition available. + Details
Name: | fmao_AllowanceForCreditLossesOnLoansAndUnfundedCommitments
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Allowance for credit losses on loans and unfunded commitments net of tax. + References No definition available. + Details
Name: | fmao_AllowanceForCreditLossesOnLoansAndUnfundedCommitmentsNetOfTax
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Delinquent period for charging down consumer loans + References No definition available. + Details
Name: | fmao_DelinquentPeriodForChargingDownConsumerLoans
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Delinquent period for charging down or allocated commercial and agricultural credits. + References No definition available. + Details
Name: | fmao_DelinquentPeriodForChargingDownOrAllocatedCommercialAndAgriculturalCredits
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing receivable modifications number of contracts. + References No definition available. + Details
Name: | fmao_FinancingReceivableModificationsNumberOfContracts
Namespace Prefix: | fmao_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing receivable modifications number of contracts paid off. + References No definition available. + Details
Name: | fmao_FinancingReceivableModificationsNumberOfContractsPaidOff
Namespace Prefix: | fmao_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Litigation and any deficiency charged off period. + References No definition available. + Details
Name: | fmao_LitigationAndAnyDeficiencyChargedOffPeriod
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum time for reevaluation. + References No definition available. + Details
Name: | fmao_MaximumTimeForReevaluation
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Re evaluation period for real estate. + References No definition available. + Details
Name: | fmao_ReEvaluationPeriodForRealEstate
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Unsecured consumer loans credit card credits and overdraft. + References No definition available. + Details
Name: | fmao_UnsecuredConsumerLoansCreditCardCreditsAndOverdraft
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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 Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 310 -SubTopic 20 -Name Accounting Standards Codification -Section 40 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481628/310-20-40-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -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 + 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 with payment default in current period and modified within previous 12 months preceding payment default for debtor experiencing financial difficulty. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 34 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-34 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 12A -Publisher FASB -URI https://asc.fasb.org/1943274/2147481933/310-10-55-12A Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 44 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-44 + Details
Name: | us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Recorded investment of consumer mortgage loan receivables secured by residential real estate properties for which formal foreclosure proceedings are in process. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 35 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-35 + Details
Name: | us-gaap_MortgageLoansInProcessOfForeclosureAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Carrying amount as of the balance sheet date of land and buildings obtained through foreclosure proceedings or defeasance in full or partial satisfaction of a debt arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 310 -SubTopic 20 -Name Accounting Standards Codification -Section 40 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481628/310-20-40-7 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481990/310-10-45-3 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-11 + Details
Name: | us-gaap_RealEstateAcquiredThroughForeclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_LoanRestructuringModificationAxis=us-gaap_PrincipalForgivenessMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201613Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |