XML 138 R124.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Qualified Affordable Housing Project Investments - Additional Information (Details) - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2024 | Dec. 31, 2023
Equity Method Investments and Joint Ventures [Abstract] |  |
Qualified affordable housing project investments | $ 2,700 | $ 2,400
Qualified affordable housing project investments | $ 3,600 |
Investment, Proportional Amortization Method, Elected, Statement of Financial Position [Extensible Enumeration] | Other Assets |
Funded commitments related to the investments in qualified affordable housing projects | $ 4,000 | $ 4,000
Unfunded commitments related to the investments in qualified affordable housing projects | 880 |
Amortization expense recognized with qualified affordable housing project | $ 422 |
Investment Program, Proportional Amortization Method, Applied, Amortization Expense, Statement of Income or Comprehensive Income [Extensible Enumeration] | Noninterest Expense |
Investment Program, Proportional Amortization Method, Applied, Amortization Expense, Statement of Cash Flows [Extensible Enumeration] | Noninterest Expense |
Affordable housing tax credits from other tax benefits | $ 417 |
Investment Program, Proportional Amortization Method, Elected, Income Tax Credit and Other Income Tax Benefit, before Amortization, Statement of Income or Comprehensive Income [Extensible Enumeration] | Income taxes |
Investment Program, Proportional Amortization Method, Elected, Income Tax Credit and Other Income Tax Benefit, before Amortization, Statement of Cash Flows [Extensible Enumeration] | Income taxes |
Impairment losses related to investments in qualified affordable housing projects | no |

X
- Definition Funded commitments related to the investments in qualified affordable housing projects. + References No definition available. + Details
Name: | fmao_FundedCommitmentsRelatedToTheInvestmentsInQualifiedAffordableHousingProjects
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Unfunded commitments related to the investments in qualified affordable housing projects. + References No definition available. + Details
Name: | fmao_UnfundedCommitmentsRelatedToTheInvestmentsInQualifiedAffordableHousingProjects
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Description of nature of impairment loss for investment that generates income tax credit and other income tax benefit under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-2 + Details
Name: | us-gaap_AffordableHousingProjectInvestmentNatureOfWriteDown
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before amortization expense, of income tax credit and other tax benefit generated by investment under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 323 -SubTopic 740 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/323-740-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_AffordableHousingTaxCreditsAndOtherTaxBenefitsAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of investment that generates income tax credit and other income tax benefit under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, investment under program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of amortization expense for investment that generates income tax credit and other income tax benefit under tax credit program accounted for using proportional amortization method. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_EquityMethodInvestmentsAndJointVenturesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates line item in statement of cash flows that includes amortization expense for investment that generates income tax credit and other income tax benefit under tax credit program accounted for using proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_InvestmentProgramProportionalAmortizationMethodAppliedIncomeTaxCreditAndOtherTaxBenefitAmortizationStatementOfCashFlowsExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates line item in statement of income or comprehensive income that includes amortization expense for investment that generates income tax credit and other income tax benefit under tax credit program accounted for using proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_InvestmentProgramProportionalAmortizationMethodAppliedIncomeTaxCreditAndOtherTaxBenefitAmortizationStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates line item in statement of cash flows that includes income tax credit and other income tax benefit, before amortization expense, generated by investment under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_InvestmentProgramProportionalAmortizationMethodElectedIncomeTaxCreditAndOtherIncomeTaxBenefitBeforeAmortizationStatementOfCashFlowsExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates line item in statement of income or comprehensive income that includes income tax credit and other income tax benefit, before amortization expense, generated by investment under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_InvestmentProgramProportionalAmortizationMethodElectedIncomeTaxCreditAndOtherIncomeTaxBenefitBeforeAmortizationStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates line item in statement of financial position that includes investment that generates income tax credit and other income tax benefit under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_InvestmentProportionalAmortizationMethodElectedStatementOfFinancialPositionExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of commitment and contingent commitment, including amount of delayed equity contribution, for investment that generates income tax credit and other income tax benefit under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, commitment and contingent commitment related to investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-2 + Details
Name: | us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant