XML 40 R30.htm IDEA: XBRL DOCUMENT
v3.23.2

Business Combination and Asset Purchase - Summary of Changes in Accretable Yield or Income Expected to be Collected (Detail) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Jun. 30, 2023 | Jun. 30, 2022 | Jun. 30, 2023 | Jun. 30, 2022 | Dec. 31, 2022
Peoples Federal Savings and Loan [Member] |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |
Beginning Balance | $ 741 |  | $ 798 |  |
Additions | 3 |  | 4 |  |
Accretion | (58) |  | (116) |  |
Disposals | (6) |  | (6) |  |
Ending Balance | 680 |  | 680 |  | $ 798
Perpetual Federal Savings Bank [Member] |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |
Beginning Balance | 3,906 | $ 5,004 | 4,236 | $ 5,262 | 5,262
Additions | 11 | 33 | 25 | 97 |
Accretion | (345) | (327) | (689) | (649) |
Ending Balance | 3,572 | 4,710 | 3,572 | 4,710 | 4,236
Ossian Financial Services, Inc. [Member] |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |
Beginning Balance | 426 | 601 | 470 | 645 | 645
Accretion | (44) | (44) | (88) | (88) |
Ending Balance | 382 | 557 | 382 | 557 | 470
Limberlost Bancshares, Inc. [Member] |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |
Beginning Balance | 681 | 1,097 | 785 | 1,198 | 1,198
Additions | 2 | 3 | 5 | 8 |
Accretion | (108) | (106) | (215) | (212) |
Ending Balance | $ 575 | $ 994 | $ 575 | $ 994 | $ 785

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/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479907/805-20-50-5 + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate excess of a loan's cash flows expected to be collected over the investor's initial investment in the loan for loans accounted for as debt securities, with evidence of deterioration of credit quality since origination that were acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 15 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481906/310-30-15-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481696/310-30-50-2 + Details
Name: | us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYield
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Current period recognition due to accretion of the excess of a loan's cash flows expected to be collected over the investor's initial investment in the loan for loans accounted for as debt securities, with evidence of deterioration of credit quality since origination that were acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 15 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481906/310-30-15-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481696/310-30-50-2 + Details
Name: | us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYieldAccretion
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Increases in the aggregate excess of a loan's cash flows expected to be collected over the investor's initial investment in the loan due to the acquisition of similar loans accounted for as debt securities during the period. This relates to loans accounted for as debt securities, with evidence of deterioration of credit quality since origination that were acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 15 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481906/310-30-15-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481696/310-30-50-2 + Details
Name: | us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYieldAdditions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Sale or transfer of a loan during the period resulting in a reduction in the excess of a loan's cash flows expected to be collected over the investor's initial investment. This relates to loans accounted for as debt securities, with evidence of deterioration of credit quality since origination that was acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 15 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481906/310-30-15-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481696/310-30-50-2 + Details
Name: | us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYieldDisposalsOfLoans
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_PeoplesFederalSavingsAndLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_PerpetualFederalSavingBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_OssianFinancialServiceIncorporatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_LimberlostBancsharesIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |