XML 116 R101.htm IDEA: XBRL DOCUMENT
v3.22.4

Related Party Transactions - Additional Information (Detail) - Directors and Executive Officers [Member] $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($) SecurityLoan | Dec. 31, 2021 USD ($)
Related Party Transaction [Line Items] |  |
Granted loans to affiliate companies | $ 20,200 | $ 20,100
Subsequent advances | 12,500 |
Payment received | 21,900 |
Difference in related borrowings amounts | 151 |
Ownership interest amount | $ 41,500 | $ 43,700
Number of new loans approved | SecurityLoan | 2 |

X
- Definition Difference between related party deposit and loan lending amount. + References No definition available. + Details
Name: | fmao_DifferenceBetweenRelatedPartyDepositAndLoanLendingAmount
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of new loans approved. + References No definition available. + Details
Name: | fmao_NumberOfNewLoansApproved
Namespace Prefix: | fmao_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Related party ownership amount in concern entity. + References No definition available. + Details
Name: | fmao_RelatedPartyOwnershipAmountInConcernEntity
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow associated with extending a long-term loan to a related party. Alternate caption: Payments for Advances to Affiliates. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToFundLongtermLoansToRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow associated with collection, whether partial or full, of long-term loans to a related party. Alternate caption: Proceeds from Advances to Affiliates. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_ProceedsFromCollectionOfLongtermLoansToRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of transactions with related party during the financial reporting period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864 + Details
Name: | us-gaap_RelatedPartyTransactionAmountsOfTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=fmao_DirectorsAndExecutiveOfficersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |