{
 "instance": {
  "afbi-20220630.htm": {
   "axisCustom": 0,
   "axisStandard": 21,
   "contextCount": 252,
   "dts": {
    "calculationLink": {
     "local": [
      "afbi-20220630_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "afbi-20220630_def.xml"
     ]
    },
    "inline": {
     "local": [
      "afbi-20220630.htm"
     ]
    },
    "labelLink": {
     "local": [
      "afbi-20220630_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "afbi-20220630_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "afbi-20220630.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd"
     ]
    }
   },
   "elementCount": 443,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2022": 2,
    "http://xbrl.sec.gov/dei/2022": 4,
    "total": 6
   },
   "keyCustom": 32,
   "keyStandard": 242,
   "memberCustom": 15,
   "memberStandard": 38,
   "nsprefix": "afbi",
   "nsuri": "http://www.affinitybankshares.com/20220630",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "100000 - Document - Document And Entity Information",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
     "shortName": "Document And Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100090 - Disclosure - Nature of Operations",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperations",
     "shortName": "Nature of Operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100100 - Disclosure - Investment Securities",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecurities",
     "shortName": "Investment Securities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100110 - Disclosure - Loans and Allowance for Loan Losses",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLosses",
     "shortName": "Loans and Allowance for Loan Losses",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100120 - Disclosure - Deposits",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureDeposits",
     "shortName": "Deposits",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100130 - Disclosure - Borrowings",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowings",
     "shortName": "Borrowings",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100140 - Disclosure - Employee Stock Ownership Plan",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureEmployeeStockOwnershipPlan",
     "shortName": "Employee Stock Ownership Plan",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100150 - Disclosure - Stock-Based Compensation",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensation",
     "shortName": "Stock-Based Compensation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100160 - Disclosure - Fair Value Measurements and Disclosures",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosures",
     "shortName": "Fair Value Measurements and Disclosures",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "afbi:ReorganizationPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100170 - Disclosure - Nature of Operations (Policies)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsPolicies",
     "shortName": "Nature of Operations (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "afbi:ReorganizationPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:EarningsPerSharePolicyTextBlock",
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100180 - Disclosure - Nature of Operations (Tables)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsTables",
     "shortName": "Nature of Operations (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:EarningsPerSharePolicyTextBlock",
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100010 - Statement - Consolidated Balance Sheets",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets",
     "shortName": "Consolidated Balance Sheets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100190 - Disclosure - Investment Securities (Tables)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesTables",
     "shortName": "Investment Securities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100200 - Disclosure - Loans and Allowance for Loan Losses (Tables)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesTables",
     "shortName": "Loans and Allowance for Loan Losses (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100210 - Disclosure - Borrowings (Tables)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsTables",
     "shortName": "Borrowings (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FederalHomeLoanBankAdvancesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100220 - Disclosure - Stock-Based Compensation (Tables)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationTables",
     "shortName": "Stock-Based Compensation (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100230 - Disclosure - Fair Value Measurements and Disclosures (Tables)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresTables",
     "shortName": "Fair Value Measurements and Disclosures (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "afbi:ReorganizationPolicyTextBlock",
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_e12330c2-9c67-40a8-a6e0-0ee8c2e6b6d1",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:SaleOfStockConsiderationReceivedPerTransaction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100240 - Disclosure - Nature of Operations - Additional Information (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails",
     "shortName": "Nature of Operations - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "afbi:ReorganizationPolicyTextBlock",
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_e12330c2-9c67-40a8-a6e0-0ee8c2e6b6d1",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:SaleOfStockConsiderationReceivedPerTransaction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_a3d5ea68-c073-4c68-a2e5-08f98ca96da8",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100250 - Disclosure - Nature of Operations - Schedule of Calculations for Basic and Diluted Earnings Per Common Share (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsScheduleOfCalculationsForBasicAndDilutedEarningsPerCommonShareDetails",
     "shortName": "Nature of Operations - Schedule of Calculations for Basic and Diluted Earnings Per Common Share (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:EarningsPerSharePolicyTextBlock",
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_a3d5ea68-c073-4c68-a2e5-08f98ca96da8",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:WeightedAverageNumberOfSharesOutstandingBasic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100260 - Disclosure - Investment Securities - Schedule of Investment Securities Available-for-Sale (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails",
     "shortName": "Investment Securities - Schedule of Investment Securities Available-for-Sale (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_bbd39cc5-9fe6-4163-8b8e-d998ef47b59f",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions",
      "reportCount": 1,
      "unitRef": "U_Security",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100270 - Disclosure - Investment Securities - Additional Information (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails",
     "shortName": "Investment Securities - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_a3d5ea68-c073-4c68-a2e5-08f98ca96da8",
      "decimals": "INF",
      "lang": null,
      "name": "afbi:SalesOfAvailableForSaleSecuritiesDuringPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Security",
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100280 - Disclosure - Investment Securities - Schedule of Amortized Cost and Estimated Fair Value of Investment Securities Available-for-Sale by Contractual Maturity (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails",
     "shortName": "Investment Securities - Schedule of Amortized Cost and Estimated Fair Value of Investment Securities Available-for-Sale by Contractual Maturity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_a7852975-824c-468a-b425-d8f598711e0a",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "afbi:CashReservesRequirements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100020 - Statement - Consolidated Balance Sheets (Parenthetical)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheetsParenthetical",
     "shortName": "Consolidated Balance Sheets (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "afbi:CashReservesRequirements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100290 - Disclosure - Loans and Allowance for Loan Losses - Summary of Major Classifications of Loans (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails",
     "shortName": "Loans and Allowance for Loan Losses - Summary of Major Classifications of Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_e2b1e94e-a7d8-47f7-b4ff-fa11e6af0865",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100300 - Disclosure - Loans and Allowance for Loan Losses - Additional Information (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails",
     "shortName": "Loans and Allowance for Loan Losses - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_bbd39cc5-9fe6-4163-8b8e-d998ef47b59f",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableAllowance",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100310 - Disclosure - Loans and Allowance for Loan Losses - Summary of Allowance for Loan Losses and Recorded Investment in Loans by Portfolio Segment and Based on Impairment Method (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
     "shortName": "Loans and Allowance for Loan Losses - Summary of Allowance for Loan Losses and Recorded Investment in Loans by Portfolio Segment and Based on Impairment Method (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AllowanceForLoanAndLeaseLossesWriteOffs",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableAllowance",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100320 - Disclosure - Loans and Allowance for Loan Losses - Summary of Allowance for Loan Losses and Recorded Investment in Loans by Portfolio Segment and Based on Impairment Method (Parenthetical) (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodParentheticalDetails",
     "shortName": "Loans and Allowance for Loan Losses - Summary of Allowance for Loan Losses and Recorded Investment in Loans by Portfolio Segment and Based on Impairment Method (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ImpairedFinancingReceivablesTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100330 - Disclosure - Loans and Allowance for Loan Losses - Summary of Impaired Loans (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails",
     "shortName": "Loans and Allowance for Loan Losses - Summary of Impaired Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ImpairedFinancingReceivablesTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100340 - Disclosure - Loans and Allowance for Loan Losses - Summary of Recorded Investment in Past Due Loans, as Well as Nonaccrual Loans (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails",
     "shortName": "Loans and Allowance for Loan Losses - Summary of Recorded Investment in Past Due Loans, as Well as Nonaccrual Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FinancingReceivableRecordedInvestmentNonaccrualStatus",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100350 - Disclosure - Loans and Allowance for Loan Losses - Summary of Risk Category of Loans by Class of Loans (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails",
     "shortName": "Loans and Allowance for Loan Losses - Summary of Risk Category of Loans by Class of Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FinancingReceivableCreditQualityIndicatorsTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_7c67faf7-4808-416c-8177-de5322e2dc48",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:TimeDepositsAtOrAboveFDICInsuranceLimit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100360 - Disclosure - Deposits - Additional Information (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureDepositsAdditionalInformationDetails",
     "shortName": "Deposits - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:TimeDepositsAtOrAboveFDICInsuranceLimit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesValuationAdjustmentsUnderFairValueOption",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100370 - Disclosure - Borrowings - Schedule of Federal Home Loan Bank of Atlanta (FHLB) Advances (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails",
     "shortName": "Borrowings - Schedule of Federal Home Loan Bank of Atlanta (FHLB) Advances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FederalHomeLoanBankAdvancesTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_b7ed643d-c724-495d-aac6-c4ee6faf11c0",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesBranchOfFHLBBankAmountOfAdvancesByBranch",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AdvancesFromFederalHomeLoanBanks",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100380 - Disclosure - Borrowings - Additional Information (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails",
     "shortName": "Borrowings - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_bbd39cc5-9fe6-4163-8b8e-d998ef47b59f",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresCollateralPledged1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_a3d5ea68-c073-4c68-a2e5-08f98ca96da8",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100030 - Statement - Consolidated Statements of Income (unaudited)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited",
     "shortName": "Consolidated Statements of Income (unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_a3d5ea68-c073-4c68-a2e5-08f98ca96da8",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:EmployeeStockOwnershipPlanESOPDebtStructureIndirectLoanAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100390 - Disclosure - Employee Stock Ownership Plan - Additional Information (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureEmployeeStockOwnershipPlanAdditionalInformationDetails",
     "shortName": "Employee Stock Ownership Plan - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:EmployeeStockOwnershipPlanESOPDebtStructureIndirectLoanAmount",
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_bbd39cc5-9fe6-4163-8b8e-d998ef47b59f",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:EmployeeStockOwnershipPlanESOPDebtStructureIndirectLoanAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_fb02ae05-1e80-402f-b999-d771fd1f8e60",
      "decimals": "5",
      "first": true,
      "lang": null,
      "name": "afbi:CommonStockExchangeRatio",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100400 - Disclosure - Stock-Based Compensation - Additional Information (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
     "shortName": "Stock-Based Compensation - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_a3d5ea68-c073-4c68-a2e5-08f98ca96da8",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_4e6a4ec2-b802-4db7-8c7d-ed948ca3083a",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100410 - Disclosure - Stock-Based Compensation - Summary of Stock Option Activity (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails",
     "shortName": "Stock-Based Compensation - Summary of Stock Option Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_bbd39cc5-9fe6-4163-8b8e-d998ef47b59f",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_a126afcc-ec49-4d3a-9e9e-b18bd96fa1ab",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100420 - Disclosure - Stock-Based Compensation - Summary of Restricted Stock Activity (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityDetails",
     "shortName": "Stock-Based Compensation - Summary of Restricted Stock Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_065339ae-d28f-4b2b-bded-9b6a4c5f125d",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_15acdc05-629a-4ec5-ab4c-0dca11a35027",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "afbi:ShareBasedCompensationArrangementByShareBasedPaymentAwardTaxWithholdingRequirements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100430 - Disclosure - Stock-Based Compensation - Summary of Restricted Stock Activity (Parenthetical) (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityParentheticalDetails",
     "shortName": "Stock-Based Compensation - Summary of Restricted Stock Activity (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_15acdc05-629a-4ec5-ab4c-0dca11a35027",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "afbi:ShareBasedCompensationArrangementByShareBasedPaymentAwardTaxWithholdingRequirements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100440 - Disclosure - Fair Value Measurements and Disclosures - Additional Information (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails",
     "shortName": "Fair Value Measurements and Disclosures - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_d02c6cb2-146e-45ce-81c9-496f239e30c5",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ImpairedFinancingReceivablesTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableRecordedInvestment",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100450 - Disclosure - Fair Value Measurements and Disclosures - Schedule of Assets Measured at Fair Value on Nonrecurring Basis (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails",
     "shortName": "Fair Value Measurements and Disclosures - Schedule of Assets Measured at Fair Value on Nonrecurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_1998f97c-344f-4ae7-9506-9b27c5dd1725",
      "decimals": "-3",
      "lang": null,
      "name": "afbi:OtherRealEstateOwnedFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_2c596fa1-ce81-49ee-bf80-aeb4b8db7a21",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100460 - Disclosure - Fair Value Measurements and Disclosures - Schedule of Carrying Amounts and Estimated Fair Values of Company's Financial Instruments (Details)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails",
     "shortName": "Fair Value Measurements and Disclosures - Schedule of Carrying Amounts and Estimated Fair Values of Company's Financial Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCarryingValuesAndEstimatedFairValuesOfDebtInstrumentsTableTextBlock",
       "div",
       "us-gaap:FairValueMeasurementInputsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_df7285c4-bf36-445c-9077-ad5e700242c1",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_a3d5ea68-c073-4c68-a2e5-08f98ca96da8",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100040 - Statement - Consolidated Statements of Comprehensive (Loss) Income (unaudited)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLossIncomeUnaudited",
     "shortName": "Consolidated Statements of Comprehensive (Loss) Income (unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_a3d5ea68-c073-4c68-a2e5-08f98ca96da8",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_a3d5ea68-c073-4c68-a2e5-08f98ca96da8",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100050 - Statement - Consolidated Statements of Comprehensive (Loss) Income (unaudited) (Parenthetical)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLossIncomeUnauditedParenthetical",
     "shortName": "Consolidated Statements of Comprehensive (Loss) Income (unaudited) (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_a3d5ea68-c073-4c68-a2e5-08f98ca96da8",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_d2f7f341-16cc-44d9-a5f1-06fe8bee685a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100060 - Statement - Consolidated Statements of Changes in Stockholders' Equity (unaudited)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited",
     "shortName": "Consolidated Statements of Changes in Stockholders' Equity (unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_069edb1e-e093-41dd-bf84-0b698f6f0d2e",
      "decimals": "-3",
      "lang": null,
      "name": "afbi:EmployeeStockOwnershipPlanLoanPaymentAndReleaseOfShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_069edb1e-e093-41dd-bf84-0b698f6f0d2e",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100070 - Statement - Consolidated Statements of Changes in Stockholders' Equity (unaudited) (Parenthetical)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical",
     "shortName": "Consolidated Statements of Changes in Stockholders' Equity (unaudited) (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_069edb1e-e093-41dd-bf84-0b698f6f0d2e",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100080 - Statement - Consolidated Statements of Cash Flows (unaudited)",
     "role": "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited",
     "shortName": "Consolidated Statements of Cash Flows (unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "afbi-20220630.htm",
      "contextRef": "C_16a6179f-bbfa-44e6-962c-02a24d8a7adb",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 54,
   "tag": {
    "afbi_AccruedInterestPayableAndOtherLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued interest payable and other liabilities.",
        "label": "Accrued Interest Payable And Other Liabilities",
        "terseLabel": "Accrued interest payable and other liabilities"
       }
      }
     },
     "localname": "AccruedInterestPayableAndOtherLiabilities",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_AdvancesFromFederalHomeLoanBanksBookValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Advances from federal home loan banks book value.",
        "label": "Advances From Federal Home Loan Banks Book Value",
        "verboseLabel": "FHLB advances book value"
       }
      }
     },
     "localname": "AdvancesFromFederalHomeLoanBanksBookValue",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_AmountInvestedInBankOperations": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount invested in bank operations.",
        "label": "Amount Invested In Bank Operations",
        "terseLabel": "Amount invested in bank operations"
       }
      }
     },
     "localname": "AmountInvestedInBankOperations",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_BasisOfPresentationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basis of presentation.",
        "label": "Basis Of Presentation [Line Items]",
        "terseLabel": "Basis Of Presentation [Line Items]"
       }
      }
     },
     "localname": "BasisOfPresentationLineItems",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "afbi_BasisOfPresentationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basis of presentation.",
        "label": "Basis Of Presentation [Table]",
        "terseLabel": "Basis Of Presentation [Table]"
       }
      }
     },
     "localname": "BasisOfPresentationTable",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "afbi_CashReservesRequirements": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash reserves requirements.",
        "label": "Cash Reserves Requirements",
        "terseLabel": "Cash and due from banks, reserve requirement"
       }
      }
     },
     "localname": "CashReservesRequirements",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_CommercialPortfolioSegmentExcludingPayrollProtectionProgramLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commercial portfolio segment excluding payroll protection program loans.",
        "label": "Commercial Portfolio Segment Excluding Payroll Protection Program Loans [Member]",
        "terseLabel": "Commercial and Industrial"
       }
      }
     },
     "localname": "CommercialPortfolioSegmentExcludingPayrollProtectionProgramLoansMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_CommercialSecuredByRealEstateNonownerOccupiedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commercial secured by real estate nonowner occupied.",
        "label": "Commercial Secured By Real Estate NonOwner Occupied [Member]",
        "terseLabel": "Commercial (Secured by Real Estate - Non-owner Occupied)"
       }
      }
     },
     "localname": "CommercialSecuredByRealEstateNonownerOccupiedMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_CommercialSecuredByRealEstateOwnerOccupiedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commercial secured by real estate owner occupied.",
        "label": "Commercial Secured By Real Estate Owner Occupied [Member]",
        "terseLabel": "Commercial (Secured by Real Estate - Owner Occupied)"
       }
      }
     },
     "localname": "CommercialSecuredByRealEstateOwnerOccupiedMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_CommonStockExchangeRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock exchange ratio.",
        "label": "Common Stock Exchange Ratio",
        "terseLabel": "Common stock exchange ratio"
       }
      }
     },
     "localname": "CommonStockExchangeRatio",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical"
     ],
     "xbrltype": "pureItemType"
    },
    "afbi_CommunityFirstBancsharesMutualHoldingCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Community First Bancshares Mutual Holding Company.",
        "label": "Community First Bancshares Mutual Holding Company [Member]",
        "terseLabel": "Community First Bancshares, MHC"
       }
      }
     },
     "localname": "CommunityFirstBancsharesMutualHoldingCompanyMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_CompositionOfLoanPortfolioLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Composition of loan portfolio.",
        "label": "Composition Of Loan Portfolio [Line Items]",
        "terseLabel": "Composition Of Loan Portfolio [Line Items]"
       }
      }
     },
     "localname": "CompositionOfLoanPortfolioLineItems",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "afbi_CompositionOfLoanPortfolioTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Composition of Loan Portfolio [Table]",
        "label": "Composition Of Loan Portfolio [Table]",
        "terseLabel": "Composition Of Loan Portfolio [Table]"
       }
      }
     },
     "localname": "CompositionOfLoanPortfolioTable",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "afbi_ConstructionLandAndAcquisitionAndDevelopmentPortfolioMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Construction, land and acquisition and development portfolio.",
        "label": "Construction Land And Acquisition And Development Portfolio [Member]",
        "terseLabel": "Construction, Land and Acquisition &amp; Development"
       }
      }
     },
     "localname": "ConstructionLandAndAcquisitionAndDevelopmentPortfolioMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_DeferredCompensation": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred compensation.",
        "label": "Deferred Compensation",
        "terseLabel": "Deferred compensation"
       }
      }
     },
     "localname": "DeferredCompensation",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_EmployeeStockOwnershipPlanESOPNumberOfReleasedShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employee stock ownership plan ESOP number of released shares.",
        "label": "Employee Stock Ownership Plan E S O P Number Of Released Shares",
        "terseLabel": "ESOP released shares"
       }
      }
     },
     "localname": "EmployeeStockOwnershipPlanESOPNumberOfReleasedShares",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureEmployeeStockOwnershipPlanAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "afbi_EmployeeStockOwnershipPlanEsopPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employee stock ownership plan Esop per share.",
        "label": "Employee Stock Ownership Plan Esop Per Share",
        "terseLabel": "Employee stock ownership plan per share"
       }
      }
     },
     "localname": "EmployeeStockOwnershipPlanEsopPerShare",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "afbi_EmployeeStockOwnershipPlanLoanPaymentAndReleaseOfShares": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employee stock ownership plan loan payment and release of shares.",
        "label": "Employee Stock Ownership Plan Loan Payment And Release Of Shares",
        "terseLabel": "ESOP loan payment and release of ESOP shares"
       }
      }
     },
     "localname": "EmployeeStockOwnershipPlanLoanPaymentAndReleaseOfShares",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_FederalHomeLoanBankAdvancesCallFeature": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal home loan bank, advances, call feature.",
        "label": "Federal Home Loan Bank Advances Call Feature",
        "terseLabel": "Advances from FHLB, Call Feature"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesCallFeature",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "afbi_FederalHomeLoanBankAdvancesDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal home loan bank, advances date.",
        "label": "Federal Home Loan Bank Advances Date",
        "terseLabel": "Advances from FHLB, Advance Date"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesDate",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "afbi_FederalHomeLoanBankAdvancesInterestRateType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal home loan bank, advances, interest rate, type.",
        "label": "Federal Home Loan Bank Advances Interest Rate Type",
        "terseLabel": "Advances from FHLB, Rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesInterestRateType",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "afbi_FederalHomeLoanBankAdvancesMaturityDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal home loan bank, advances, maturity date.",
        "label": "Federal Home Loan Bank Advances Maturity Date",
        "terseLabel": "Advances from FHLB, Maturity"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturityDate",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "afbi_FederalHomeLoanBankPrepaymentPenalties": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 12.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal home loan bank prepayment penalties.",
        "label": "Federal Home Loan Bank Prepayment Penalties",
        "terseLabel": "FHLB prepayment penalties",
        "verboseLabel": "Prepayment penalties"
       }
      }
     },
     "localname": "FederalHomeLoanBankPrepaymentPenalties",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_ImpairedFinancingReceivableAllocatedRelatedAllowance": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Impaired financing receivable allocated related allowance.",
        "label": "Impaired Financing Receivable Allocated Related Allowance",
        "totalLabel": "Total impaired loans, Allocated Related Allowance"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableAllocatedRelatedAllowance",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_ImpairedFinancingReceivableWithNoRelatedAllowanceAllocatedRelatedAllowance": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": 0.0,
       "parentTag": "afbi_ImpairedFinancingReceivableAllocatedRelatedAllowance",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Impaired financing receivable with no related allowance allocated related allowance.",
        "label": "Impaired Financing Receivable With No Related Allowance Allocated Related Allowance",
        "terseLabel": "Allocated Related Allowance, With no related allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceAllocatedRelatedAllowance",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_IssuanceOfSharesAndLoanToEmployeeStockOwnershipPlan": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Issuance of shares and loan to employee stock ownership purchase plan.",
        "label": "Issuance Of Shares And Loan To Employee Stock Ownership Plan",
        "terseLabel": "Issuance of shares and loan to ESOP"
       }
      }
     },
     "localname": "IssuanceOfSharesAndLoanToEmployeeStockOwnershipPlan",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_JulyFiveTwoThousandTwentyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "July Five Two Thousand Twenty Two [Member]",
        "label": "July Five Two Thousand Twenty Two [Member]",
        "terseLabel": "July 5, 2022"
       }
      }
     },
     "localname": "JulyFiveTwoThousandTwentyTwoMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_JulyTwentyTwoTwoThousandTwentyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "July twenty two two thousand twenty two.",
        "label": "July Twenty Two Two Thousand Twenty Two [Member]",
        "terseLabel": "July 22, 2022"
       }
      }
     },
     "localname": "JulyTwentyTwoTwoThousandTwentyTwoMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_LoansAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loans.",
        "label": "Loans [Abstract]",
        "terseLabel": "Loans:"
       }
      }
     },
     "localname": "LoansAbstract",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "afbi_LossOnWritedownOfPremisesAndEquipment": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 11.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loss on writedown of premises and equipment.",
        "label": "Loss On Writedown Of Premises And Equipment",
        "terseLabel": "Writedown of premises and equipment",
        "verboseLabel": "Loss on writedown of premises and equipment"
       }
      }
     },
     "localname": "LossOnWritedownOfPremisesAndEquipment",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_NetGainLossOnSaleAndWritedownOfOtherRealEstateOwned": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net (gain) loss on sale and writedown of other real estate owned.",
        "label": "Net (gain) loss on sale and writedown of other real estate owned",
        "negatedLabel": "Net gain on sale and writedown of other real estate owned"
       }
      }
     },
     "localname": "NetGainLossOnSaleAndWritedownOfOtherRealEstateOwned",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_NumberOfPaycheckProtectionProgramLoans": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of paycheck protection program loans.",
        "label": "Number Of Paycheck Protection Program Loans",
        "terseLabel": "Number of paycheck protection program loans"
       }
      }
     },
     "localname": "NumberOfPaycheckProtectionProgramLoans",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "afbi_OfferingExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Offering expenses.",
        "label": "Offering Expenses",
        "terseLabel": "Offering expenses"
       }
      }
     },
     "localname": "OfferingExpenses",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_OrganizationalDuesAndSubscriptions": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 8.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Organizational dues and subscriptions.",
        "label": "Organizational Dues And Subscriptions",
        "terseLabel": "Organizational dues and subscriptions"
       }
      }
     },
     "localname": "OrganizationalDuesAndSubscriptions",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_OtherInvestmentsFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other investments, fair value disclosure.",
        "label": "Other Investments Fair Value Disclosure",
        "terseLabel": "Other investments"
       }
      }
     },
     "localname": "OtherInvestmentsFairValueDisclosure",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_OtherRealEstateOwnedFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other real estate owned fair value disclosure.",
        "label": "Other Real Estate Owned Fair Value Disclosure",
        "terseLabel": "Other real estate owned"
       }
      }
     },
     "localname": "OtherRealEstateOwnedFairValueDisclosure",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_PaycheckProtectionProgramLoansFederalBorrowingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Paycheck protection program loans federal borrowings.",
        "label": "Paycheck Protection Program Loans Federal Borrowings [Member]",
        "terseLabel": "Paycheck Protection Program Loans Federal Borrowings"
       }
      }
     },
     "localname": "PaycheckProtectionProgramLoansFederalBorrowingsMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_PaycheckProtectionProgramLoansFixedInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Paycheck protection program loans fixed interest rate.",
        "label": "Paycheck Protection Program Loans Fixed Interest Rate",
        "terseLabel": "Paycheck protection program loans, fixed interest rate"
       }
      }
     },
     "localname": "PaycheckProtectionProgramLoansFixedInterestRate",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "afbi_PaycheckProtectionProgramLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Paycheck Protection Program loans.",
        "label": "Paycheck Protection Program Loans [Member]",
        "terseLabel": "Paycheck Protection Program Loans",
        "verboseLabel": "Paycheck Protection Program"
       }
      }
     },
     "localname": "PaycheckProtectionProgramLoansMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodParentheticalDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_PaymentsForFundingOfESOP": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments for funding of ESOP.",
        "label": "Payments For Funding Of E S O P",
        "negatedLabel": "Funding of ESOP"
       }
      }
     },
     "localname": "PaymentsForFundingOfESOP",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_PaymentsForPayrollProtectionProgramLiquidityFacility": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments for payroll protection program liquidity facility.",
        "label": "Payments For Payroll Protection Program Liquidity Facility",
        "negatedLabel": "Repayment of PPPLF borrowings"
       }
      }
     },
     "localname": "PaymentsForPayrollProtectionProgramLiquidityFacility",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_ProceedsFromPaymentForOtherRealEstateOwned": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from (payment for) other real estate owned.",
        "label": "Proceeds From Payment For Other Real Estate Owned",
        "terseLabel": "Proceeds from sales of other real estate owned"
       }
      }
     },
     "localname": "ProceedsFromPaymentForOtherRealEstateOwned",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_ReorganizationPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reorganization.",
        "label": "Reorganization Policy [Text Block]",
        "terseLabel": "Reorganization"
       }
      }
     },
     "localname": "ReorganizationPolicyTextBlock",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "afbi_ResidentialMortgageOneToFourFamilyPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Residential mortgage one to four family portfolio segment.",
        "label": "Residential Mortgage One To Four Family Portfolio Segment [Member]",
        "terseLabel": "Residential Mortgage 1-4 Family"
       }
      }
     },
     "localname": "ResidentialMortgageOneToFourFamilyPortfolioSegmentMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_SalesOfAvailableForSaleSecuritiesDuringPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sales of available-for-sale securities during the period.",
        "label": "Sales Of Available For Sale Securities During Period",
        "verboseLabel": "Sales of available-for-sale securities"
       }
      }
     },
     "localname": "SalesOfAvailableForSaleSecuritiesDuringPeriod",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "afbi_ScheduleOfAvailableForSaleAndHeldToMaturitySecuritiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Available for sale and held to maturity securities.",
        "label": "Schedule Of Available For Sale And Held To Maturity Securities [Line Items]",
        "terseLabel": "Schedule Of Available For Sale And Held To Maturity Securities [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleAndHeldToMaturitySecuritiesLineItems",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "afbi_ScheduleOfAvailableForSaleAndHeldToMaturitySecuritiesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Available for sale and held to maturity securities table.",
        "label": "Schedule Of Available For Sale And Held To Maturity Securities [Table]",
        "terseLabel": "Schedule Of Available For Sale And Held To Maturity Securities [Table]"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleAndHeldToMaturitySecuritiesTable",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "afbi_SecuredPaycheckProtectionProgramLoans": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured paycheck protection program loans.",
        "label": "Secured Paycheck Protection Program Loans",
        "terseLabel": "Paycheck protection program loans"
       }
      }
     },
     "localname": "SecuredPaycheckProtectionProgramLoans",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_ServiceChargesOnDepositAccounts": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Service charges on deposit accounts.",
        "label": "Service Charges On Deposit Accounts",
        "terseLabel": "Service charges on deposit accounts"
       }
      }
     },
     "localname": "ServiceChargesOnDepositAccounts",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_ShareBasedCompensationArrangementByShareBasedPaymentAwardTaxWithholdingRequirements": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award tax withholding requirements.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Tax Withholding Requirements",
        "terseLabel": "Restricted shares applicable tax withholding requirements"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardTaxWithholdingRequirements",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityParentheticalDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "afbi_ShareBasedCompensationArrangementTaxWithholdingRequirementsNumberOfShareSurrendered": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement tax withholding requirements number of share surrendered.",
        "label": "Share Based Compensation Arrangement Tax Withholding Requirements Number Of Share Surrendered",
        "terseLabel": "Share based compensation arrangement tax withholding requirements number of share surrendered"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementTaxWithholdingRequirementsNumberOfShareSurrendered",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityParentheticalDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "afbi_SmallBusinessAdministrationSBAPaycheckProtectionProgramCARESActMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Small business administration (SBA),paycheck protection program, CARES act.",
        "label": "Small Business Administration S B A Paycheck Protection Program C A R E S Act [Member]",
        "terseLabel": "Small Business Administration"
       }
      }
     },
     "localname": "SmallBusinessAdministrationSBAPaycheckProtectionProgramCARESActMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_StockBasedCompensationExpenseExcludingEmployeeStockOwnershipPlan": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock-based compensation expense excluding employee stock ownership plan.",
        "label": "Stock Based Compensation Expense Excluding Employee Stock Ownership Plan",
        "terseLabel": "Stock-based compensation expense"
       }
      }
     },
     "localname": "StockBasedCompensationExpenseExcludingEmployeeStockOwnershipPlan",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "afbi_TwoThousandAndEighteenEquityIncentivePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two thousand and eighteen equity incentive plan.",
        "label": "Two Thousand And Eighteen Equity Incentive Plan [Member]",
        "terseLabel": "2018 Equity Incentive Plan"
       }
      }
     },
     "localname": "TwoThousandAndEighteenEquityIncentivePlanMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_TwoThousandAndTwentyTwoEquityIncentivePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two thousand and twenty two equity incentive plan.",
        "label": "Two Thousand And Twenty Two Equity Incentive Plan [Member]",
        "terseLabel": "2022 Equity Incentive Plan"
       }
      }
     },
     "localname": "TwoThousandAndTwentyTwoEquityIncentivePlanMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_USTreasurySecuritiesMunicipalSecuritiesTaxExemptMunicipalSecuritiesTaxableGovernmentAgenciesDebtSecuritiesCorporateDebtSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "U.S. Treasury Securities Municipal Securities Tax Exempt Municipal Securities Taxable Government Agencies Debt Securities Corporate Debt Securities.",
        "label": "U S Treasury Securities Municipal Securities Tax Exempt Municipal Securities Taxable Government Agencies Debt Securities Corporate Debt Securities [Member]",
        "terseLabel": "U.S. Treasury Securities, Municipal Securities - Tax Exempt, Municipal Securities - Taxable, Government Agency Securities, Corporate Securities"
       }
      }
     },
     "localname": "USTreasurySecuritiesMunicipalSecuritiesTaxExemptMunicipalSecuritiesTaxableGovernmentAgenciesDebtSecuritiesCorporateDebtSecuritiesMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_UnearnedEmployeeStockOwnershipPlanSharesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unearned employee stock ownership plan shares.",
        "label": "Unearned Employee Stock Ownership Plan Shares [Member]",
        "terseLabel": "Unearned ESOP Shares"
       }
      }
     },
     "localname": "UnearnedEmployeeStockOwnershipPlanSharesMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "afbi_UnsecuredFederalFundsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unsecured federal funds.",
        "label": "Unsecured Federal Funds [Member]",
        "terseLabel": "Unsecured Federal Funds"
       }
      }
     },
     "localname": "UnsecuredFederalFundsMember",
     "nsuri": "http://www.affinitybankshares.com/20220630",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r466"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report",
        "terseLabel": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r467"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r464"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]",
        "terseLabel": "Entity"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r464"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r486"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards.",
        "label": "Entity Ex Transition Period",
        "terseLabel": "Entity Ex Transition Period"
       }
      }
     },
     "localname": "EntityExTransitionPeriod",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r464"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r485"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r464"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r464"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r464"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r464"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]",
        "terseLabel": "Legal Entity"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r463"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r465"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "srt_FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis": {
     "auth_ref": [
      "r418"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank Branch [Axis]",
        "terseLabel": "Federal Home Loan Bank Branch"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_FederalHomeLoanBankAdvancesBranchOfFHLBBankStateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank Branch [Domain]",
        "terseLabel": "Federal Home Loan Bank Branch"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesBranchOfFHLBBankStateDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_FederalHomeLoanBankOfAtlantaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank of Atlanta [Member]",
        "terseLabel": "Federal Home Loan Bank of Atlanta"
       }
      }
     },
     "localname": "FederalHomeLoanBankOfAtlantaMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r190",
      "r191",
      "r192",
      "r193",
      "r210",
      "r239",
      "r254",
      "r255",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r367",
      "r434",
      "r435",
      "r461",
      "r462"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r189",
      "r190",
      "r191",
      "r192",
      "r193",
      "r210",
      "r239",
      "r245",
      "r254",
      "r255",
      "r284",
      "r285",
      "r286",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r367",
      "r434",
      "r435",
      "r461",
      "r462"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r189",
      "r190",
      "r191",
      "r192",
      "r193",
      "r210",
      "r239",
      "r245",
      "r254",
      "r255",
      "r284",
      "r285",
      "r286",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r367",
      "r434",
      "r435",
      "r461",
      "r462"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r14",
      "r27",
      "r29",
      "r30",
      "r422",
      "r440",
      "r441"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax",
        "terseLabel": "Accumulated other comprehensive loss",
        "totalLabel": "Accumulated Other Comprehensive Income (Loss), Net of Tax, Total"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r26",
      "r30",
      "r37",
      "r38",
      "r39",
      "r79",
      "r80",
      "r81",
      "r315",
      "r352",
      "r436",
      "r437"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
        "label": "AOCI Attributable to Parent [Member]",
        "terseLabel": "Accumulated Other Comprehensive Income (Loss)"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdditionalPaidInCapitalCommonStock": {
     "auth_ref": [
      "r12"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.",
        "label": "Additional Paid in Capital, Common Stock",
        "periodEndLabel": "Additional Paid in Capital, Common Stock, Ending Balance",
        "periodStartLabel": "Additional Paid in Capital, Common Stock, Beginning Balance",
        "terseLabel": "Additional paid in capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r79",
      "r80",
      "r81",
      "r294",
      "r295",
      "r296",
      "r321"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "Additional Paid In Capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease to equity for grantee's tax withholding obligation for award under share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Decrease for Tax Withholding Obligation",
        "terseLabel": "Shares surrendered to satisfy applicable tax withholding requirements"
       }
      }
     },
     "localname": "AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognition": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for option under share-based payment arrangement.",
        "label": "APIC, Share-Based Payment Arrangement, Option, Increase for Cost Recognition",
        "terseLabel": "Stock-based compensation expense"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognition",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts": {
     "auth_ref": [
      "r240",
      "r241"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease in additional paid in capital (APIC) resulting from direct costs associated with issuing stock. Includes, but is not limited to, legal and accounting fees and direct costs associated with stock issues under a shelf registration.",
        "label": "Adjustments to Additional Paid in Capital, Stock Issued, Issuance Costs",
        "terseLabel": "Stock offering expense"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net income to net cash provided by operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdvancesFromFederalHomeLoanBanks": {
     "auth_ref": [
      "r418"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of borrowings as of the balance sheet date from the Federal Home Loan Bank, which are primarily used to cover shortages in the required reserve balance and liquidity shortages.",
        "label": "Advance from Federal Home Loan Bank",
        "terseLabel": "Federal Home Loan Bank advances",
        "totalLabel": "Advances from Federal Home Loan Banks, Total",
        "verboseLabel": "Federal Home Loan Bank (FHLB) advances"
       }
      }
     },
     "localname": "AdvancesFromFederalHomeLoanBanks",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdvertisingExpense": {
     "auth_ref": [
      "r304"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line.",
        "label": "Advertising Expense",
        "terseLabel": "Advertising"
       }
      }
     },
     "localname": "AdvertisingExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r288"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-Based Payment Arrangement, Expense",
        "terseLabel": "Stock-based compensation expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r130",
      "r174"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table Text Block]",
        "terseLabel": "Summary of Allowance for Loan Losses and Recorded Investment in Loans by Portfolio Segment and Based on Impairment Method"
       }
      }
     },
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossRecoveryOfBadDebts": {
     "auth_ref": [
      "r127"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of recovery of loans and lease receivables which had previously been fully or partially written-off as bad debts.",
        "label": "Allowance for Loan and Lease Loss, Recovery of Bad Debts",
        "terseLabel": "Recoveries"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossRecoveryOfBadDebts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs": {
     "auth_ref": [
      "r126"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loans and leases that have been written off from both loan receivables and allowance reserve for credit loss.",
        "label": "Allowance for Loan and Lease Losses, Write-offs",
        "negatedLabel": "Charge-offs"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossesWriteOffs",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "auth_ref": [
      "r99"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.",
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
        "terseLabel": "Options to purchase shares excluded from calculation of diluted earnings per common share"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis": {
     "auth_ref": [
      "r99"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of antidilutive security.",
        "label": "Antidilutive Securities [Axis]"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AntidilutiveSecuritiesNameDomain": {
     "auth_ref": [
      "r99"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incremental common shares attributable to securities that were not included in diluted earnings per share (EPS) because to do so would increase EPS amounts or decrease loss per share amounts for the period presented.",
        "label": "Antidilutive Securities, Name [Domain]"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AssetPledgedAsCollateralMember": {
     "auth_ref": [
      "r311",
      "r316",
      "r366"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset pledged as collateral.",
        "label": "Asset Pledged as Collateral [Member]",
        "terseLabel": "Qualifying Loans Pledged"
       }
      }
     },
     "localname": "AssetPledgedAsCollateralMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r5",
      "r75",
      "r115",
      "r117",
      "r121",
      "r168",
      "r196",
      "r197",
      "r198",
      "r199",
      "r200",
      "r201",
      "r202",
      "r203",
      "r204",
      "r205",
      "r206",
      "r311",
      "r316",
      "r339",
      "r353",
      "r355",
      "r374",
      "r421"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r324"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Fair Value Disclosure",
        "totalLabel": "Total assets at fair value"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Fair Value Disclosure [Abstract]",
        "terseLabel": "Financial assets:"
       }
      }
     },
     "localname": "AssetsFairValueDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax": {
     "auth_ref": [
      "r153"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Gain, before Tax",
        "terseLabel": "Investment securities available-for-sale, Gross Unrealized Gains"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax": {
     "auth_ref": [
      "r154"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Loss, before Tax",
        "negatedLabel": "Investment securities available-for-sale, Gross Unrealized Losses"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis": {
     "auth_ref": [
      "r151",
      "r186"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost",
        "totalLabel": "Investment securities available-for-sale, Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost": {
     "auth_ref": [
      "r159"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year 5 Through 10",
        "terseLabel": "Investment securities available-for-sale, Greater than 5 to 10 years, Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue": {
     "auth_ref": [
      "r155",
      "r159",
      "r412"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 5 Through 10",
        "terseLabel": "Investment securities available-for-sale, Greater than 5 to 10 years, Estimated Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost": {
     "auth_ref": [
      "r158"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year One Through Five",
        "terseLabel": "Investment securities available-for-sale, Greater than 1 to 5 years, Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue": {
     "auth_ref": [
      "r155",
      "r158",
      "r411"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year One Through Five",
        "terseLabel": "Investment securities available-for-sale, Greater than 1 to 5 years, Estimated Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost": {
     "auth_ref": [
      "r160"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year 10",
        "terseLabel": "Investment securities available-for-sale, Greater than 10 years, Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "auth_ref": [
      "r155",
      "r160",
      "r413"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 10",
        "terseLabel": "Investment securities available-for-sale, Greater than10 years, Estimated Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost": {
     "auth_ref": [
      "r157"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, Year One",
        "terseLabel": "Investment securities available-for-sale, within 1 year, Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue": {
     "auth_ref": [
      "r155",
      "r157",
      "r410"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, Year One",
        "terseLabel": "Investment securities available-for-sale, within 1 year, Estimated Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "auth_ref": [
      "r149",
      "r152",
      "r186",
      "r378"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      },
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale",
        "terseLabel": "Investment securities available-for-sale",
        "totalLabel": "Investment securities available-for-sale, Estimated Fair Value",
        "verboseLabel": "Investment securities available-for-sale, Estimated Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r259",
      "r260",
      "r261",
      "r263",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r278",
      "r279",
      "r281",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BankOwnedLifeInsurance": {
     "auth_ref": [
      "r373"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of a life insurance policy on an officer, executive or employee for which the reporting entity (a bank) is entitled to proceeds from the policy upon death of the insured or surrender of the insurance policy.",
        "label": "Bank Owned Life Insurance",
        "terseLabel": "Bank owned life insurance"
       }
      }
     },
     "localname": "BankOwnedLifeInsurance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "auth_ref": [
      "r337",
      "r338"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as reported on the statement of financial position (balance sheet).",
        "label": "Reported Value Measurement [Member]",
        "terseLabel": "Carrying Amount"
       }
      }
     },
     "localname": "CarryingReportedAmountFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r2",
      "r3",
      "r69"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "periodEndLabel": "Cash and Cash Equivalents, at Carrying Value, Ending Balance",
        "periodStartLabel": "Cash and Cash Equivalents, at Carrying Value, Beginning Balance",
        "totalLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash and Cash Equivalents, Fair Value Disclosure",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndDueFromBanks": {
     "auth_ref": [
      "r372"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For banks and other depository institutions: Includes cash on hand (currency and coin), cash items in process of collection, noninterest bearing deposits due from other financial institutions (including corporate credit unions), and noninterest bearing balances with the Federal Reserve Banks, Federal Home Loan Banks and central banks.",
        "label": "Cash and Due from Banks",
        "terseLabel": "Cash and due from banks, including reserve requirement of $0 at June 30, 2022 and December 31, 2021",
        "totalLabel": "Cash and Due from Banks, Total"
       }
      }
     },
     "localname": "CashAndDueFromBanks",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations": {
     "auth_ref": [
      "r63",
      "r69",
      "r72"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including, but not limited to, disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Including Disposal Group and Discontinued Operations",
        "periodEndLabel": "Cash and cash equivalents at end of period",
        "periodStartLabel": "Cash and cash equivalents at beginning of period",
        "totalLabel": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Including Disposal Group and Discontinued Operations, Total"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r63",
      "r340"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "totalLabel": "Net change in cash and cash equivalents"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashSurrenderValueFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of the amount that could be realized under a life insurance contract or contracts owned by the entity, commonly known as corporate-owned life insurance (COLI) or bank-owned life insurance (BOLI).",
        "label": "Cash Surrender Value, Fair Value Disclosure",
        "terseLabel": "Cash surrender value of life insurance"
       }
      }
     },
     "localname": "CashSurrenderValueFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CollateralAxis": {
     "auth_ref": [
      "r182"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of collateral or no collateral, from lender's perspective.",
        "label": "Collateral Held [Axis]",
        "terseLabel": "Collateral Held"
       }
      }
     },
     "localname": "CollateralAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollateralDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of collateral or no collateral, from lender's perspective.",
        "label": "Collateral Held [Domain]",
        "terseLabel": "Collateral Held"
       }
      }
     },
     "localname": "CollateralDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CollateralPledgedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pledge of specific property to serve as protection against default.",
        "label": "Collateral Pledged [Member]",
        "terseLabel": "Collateral Pledged"
       }
      }
     },
     "localname": "CollateralPledgedMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommercialPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portfolio segment of the company's total financing receivables related to commercial receivables.",
        "label": "Commercial Portfolio Segment [Member]",
        "terseLabel": "Commercial and Industrial"
       }
      }
     },
     "localname": "CommercialPortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommercialRealEstatePortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portfolio segment of the company's total financing receivables related to commercial real estate.",
        "label": "Commercial Real Estate Portfolio Segment [Member]",
        "terseLabel": "Commercial (Secured by Real Estate)"
       }
      }
     },
     "localname": "CommercialRealEstatePortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r79",
      "r80",
      "r321"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Common stock, par value"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock, shares authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common stock, shares issued",
        "totalLabel": "Common Stock, Shares, Issued, Total"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r10",
      "r240"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "periodEndLabel": "Common Stock, Shares, Outstanding, Ending Balance",
        "periodStartLabel": "Common Stock, Shares, Outstanding, Beginning Balance",
        "terseLabel": "Common stock, shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r10",
      "r355"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "periodEndLabel": "Common Stock, Value, Issued, Ending Balance",
        "periodStartLabel": "Common Stock, Value, Issued, Beginning Balance",
        "terseLabel": "Common stock (par value $0.01 per share, 40,000,000 shares authorized; 6,590,362 issued and outstanding at June 30, 2022 and 6,872,634 issued and outstanding at December 31, 2021",
        "totalLabel": "Common Stock, Value, Issued, Total"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r33",
      "r35",
      "r36",
      "r46",
      "r389",
      "r429"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLossIncomeUnaudited": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
        "totalLabel": "Total comprehensive (loss) income"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLossIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConsumerPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portfolio segment of the company's total financing receivables related to consumer receivables.",
        "label": "Consumer Portfolio Segment [Member]",
        "terseLabel": "Consumer Installment"
       }
      }
     },
     "localname": "ConsumerPortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CorporateDebtSecuritiesMember": {
     "auth_ref": [
      "r246",
      "r253",
      "r442"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt securities issued by domestic or foreign corporate business, banks and other entities with a promise of repayment.",
        "label": "Corporate Debt Securities [Member]",
        "terseLabel": "Corporate Securities"
       }
      }
     },
     "localname": "CorporateDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r73",
      "r213",
      "r214",
      "r215",
      "r216",
      "r217",
      "r218",
      "r219",
      "r224",
      "r231",
      "r232",
      "r233",
      "r238"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Borrowings"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowings"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r6",
      "r7",
      "r8",
      "r74",
      "r78",
      "r207",
      "r208",
      "r209",
      "r210",
      "r211",
      "r212",
      "r214",
      "r220",
      "r221",
      "r222",
      "r223",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r234",
      "r235",
      "r236",
      "r237",
      "r350",
      "r375",
      "r376",
      "r420"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r20",
      "r74",
      "r78",
      "r207",
      "r208",
      "r209",
      "r210",
      "r211",
      "r212",
      "r214",
      "r220",
      "r221",
      "r222",
      "r223",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r234",
      "r235",
      "r236",
      "r237",
      "r350"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]",
        "terseLabel": "Debt Instrument, Name"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions": {
     "auth_ref": [
      "r187"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without an allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-Sale, Continuous Unrealized Loss Position, 12 Months or Longer, Number of Positions",
        "terseLabel": "Number of available-for-sale securities in unrealized loss position 12 months or greater"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions": {
     "auth_ref": [
      "r187"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without an allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-Sale, Continuous Unrealized Loss Position, Less than 12 Months, Number of Positions",
        "terseLabel": "Number of available-for-sale securities in unrealized loss position less than 12 months"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock": {
     "auth_ref": [
      "r166"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-Sale [Table Text Block]",
        "terseLabel": "Schedule of Investment Securities Available-for-Sale"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DepositLiabilitiesDisclosuresTextBlock": {
     "auth_ref": [
      "r380",
      "r417",
      "r483",
      "r484"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for deposit liabilities including data and tables. It may include a description of the entity's deposit liabilities, the aggregate amount of time deposits (including certificates of deposit) in denominations of $100,000 or more at the balance sheet date; the aggregate amount of any demand deposits that have been reclassified as loan balances, such as overdrafts, at the balance sheet date; deposits that are received on terms other than those in the normal course of business, the amount of accrued interest on deposit liabilities; securities, mortgage loans or other financial instruments that serve as collateral for deposits; for time deposits having a remaining term of more than one year, the aggregate amount of maturities for each of the five years following the balance sheet date; and the weighted average interest rate for all deposit liabilities held by the entity.",
        "label": "Deposit Liabilities Disclosures [Text Block]",
        "terseLabel": "Deposits"
       }
      }
     },
     "localname": "DepositLiabilitiesDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureDeposits"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Deposits": {
     "auth_ref": [
      "r380"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, Negotiable Order of Withdrawal (NOW) and time deposits among others.",
        "label": "Deposits",
        "totalLabel": "Total deposits"
       }
      }
     },
     "localname": "Deposits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposits [Abstract]"
       }
      }
     },
     "localname": "DepositsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DepositsFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of deposit liabilities held by the entity, including, but not limited to, foreign and domestic, interest and noninterest bearing, demand deposits, saving deposits, negotiable orders of withdrawal (NOW) and time deposits.",
        "label": "Deposits, Fair Value Disclosure",
        "terseLabel": "Deposits"
       }
      }
     },
     "localname": "DepositsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositsMoneyMarketDeposits": {
     "auth_ref": [
      "r380"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deposits in accounts that offer many of the same services as checking accounts although transactions may be somewhat more limited, share some of the characteristics of a money market fund and are insured by the Federal government, also known as money market accounts.",
        "label": "Deposits, Money Market Deposits",
        "terseLabel": "Market rate checking"
       }
      }
     },
     "localname": "DepositsMoneyMarketDeposits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositsSavingsDeposits": {
     "auth_ref": [
      "r380"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest bearing deposits with no stated maturity, which may include passbook and statement savings accounts and money-market deposit accounts (MMDAs).",
        "label": "Deposits, Savings Deposits",
        "terseLabel": "Savings accounts"
       }
      }
     },
     "localname": "DepositsSavingsDeposits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationAmortizationAndAccretionNet": {
     "auth_ref": [
      "r67"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate net amount of depreciation, amortization, and accretion recognized during an accounting period. As a noncash item, the net amount is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Depreciation, Amortization and Accretion, Net",
        "terseLabel": "Depreciation and (accretion) amortization",
        "totalLabel": "Depreciation, Amortization and Accretion, Net, Total"
       }
      }
     },
     "localname": "DepreciationAmortizationAndAccretionNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r258",
      "r259",
      "r289",
      "r290",
      "r292",
      "r303"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement [Text Block]",
        "terseLabel": "Employee Stock Ownership Plan"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureEmployeeStockOwnershipPlan"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DoubtfulMember": {
     "auth_ref": [
      "r138",
      "r180"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category of financing receivables that have all the weaknesses inherent in those classified as substandard, with the added characteristic that the weaknesses make collection or liquidation in full, on the basis of currently existing facts, conditions, and values, highly questionable and improbable.",
        "label": "Doubtful [Member]",
        "terseLabel": "Doubtful/ Loss"
       }
      }
     },
     "localname": "DoubtfulMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r47",
      "r84",
      "r85",
      "r86",
      "r87",
      "r88",
      "r92",
      "r94",
      "r96",
      "r97",
      "r98",
      "r101",
      "r102",
      "r322",
      "r323",
      "r390",
      "r430"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Basic earnings per common share",
        "totalLabel": "Earnings Per Share, Basic, Total",
        "verboseLabel": "Basic earnings per share"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsScheduleOfCalculationsForBasicAndDilutedEarningsPerCommonShareDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r47",
      "r84",
      "r85",
      "r86",
      "r87",
      "r88",
      "r94",
      "r96",
      "r97",
      "r98",
      "r101",
      "r102",
      "r322",
      "r323",
      "r390",
      "r430"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Diluted earnings per common share",
        "totalLabel": "Earnings Per Share, Diluted, Total",
        "verboseLabel": "Diluted earnings per share"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsScheduleOfCalculationsForBasicAndDilutedEarningsPerCommonShareDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "auth_ref": [
      "r99",
      "r100"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "terseLabel": "Earnings Per Share"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "auth_ref": [
      "r291"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
        "terseLabel": "Unrecognized compensation cost related to equity award grants",
        "totalLabel": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount, Total"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r291"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Unrecognized compensation cost expected remaining vesting period"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
        "label": "Share-Based Payment Arrangement, Option [Member]",
        "terseLabel": "Stock Options"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EmployeeStockOwnershipPlanESOPCashContributionsToESOP": {
     "auth_ref": [
      "r299"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the amount of cash contributions during the period made by the entity to the Employee Stock Ownership Plan (ESOP).",
        "label": "Employee Stock Ownership Plan (ESOP), Cash Contributions to ESOP",
        "terseLabel": "Cash contributions to Employee Stock Ownership Plan (\"ESOP\")"
       }
      }
     },
     "localname": "EmployeeStockOwnershipPlanESOPCashContributionsToESOP",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense": {
     "auth_ref": [
      "r300"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of plan compensation cost recognized during the period.",
        "label": "Employee Stock Ownership Plan (ESOP), Compensation Expense",
        "terseLabel": "ESOP expense"
       }
      }
     },
     "localname": "EmployeeStockOwnershipPlanESOPCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureEmployeeStockOwnershipPlanAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeStockOwnershipPlanESOPDebtStructureIndirectLoanAmount": {
     "auth_ref": [
      "r297"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount reported as a liability as of the balance sheet date by the entity (the employer) of the loan made by a third-party lender to the employer relating to loans made by the employer to the ESOP.",
        "label": "Employee Stock Ownership Plan (ESOP), Debt Structure, Indirect Loan, Amount",
        "terseLabel": "Note payable balance of ESOP"
       }
      }
     },
     "localname": "EmployeeStockOwnershipPlanESOPDebtStructureIndirectLoanAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureEmployeeStockOwnershipPlanAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP": {
     "auth_ref": [
      "r301"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the allocated, committed-to-be-released and suspense shares of the entity held by the plan.",
        "label": "Employee Stock Ownership Plan (ESOP), Shares in ESOP",
        "terseLabel": "Shares purchased by ESOP",
        "totalLabel": "Employee Stock Ownership Plan (ESOP), Shares in ESOP, Total"
       }
      }
     },
     "localname": "EmployeeStockOwnershipPlanESOPSharesInESOP",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureEmployeeStockOwnershipPlanAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r0",
      "r37",
      "r38",
      "r39",
      "r79",
      "r80",
      "r81",
      "r83",
      "r89",
      "r91",
      "r103",
      "r170",
      "r240",
      "r241",
      "r294",
      "r295",
      "r296",
      "r306",
      "r307",
      "r321",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r347",
      "r352",
      "r436",
      "r437",
      "r438"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentOwnershipPercentage": {
     "auth_ref": [
      "r167"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting.",
        "label": "Equity Method Investment, Ownership Percentage",
        "terseLabel": "Common stock ownership percentage"
       }
      }
     },
     "localname": "EquityMethodInvestmentOwnershipPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r222",
      "r234",
      "r235",
      "r336"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as an estimate of fair value.",
        "label": "Estimate of Fair Value Measurement [Member]",
        "terseLabel": "Estimated Fair Value"
       }
      }
     },
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ExtendedMaturityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan modification for an extension of the term of a loan in which it must be paid.",
        "label": "Extended Maturity [Member]",
        "terseLabel": "Modified Loan Terms"
       }
      }
     },
     "localname": "ExtendedMaturityMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r324",
      "r325",
      "r331"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock": {
     "auth_ref": [
      "r324",
      "r325",
      "r326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities by class, including financial instruments measured at fair value that are classified in shareholders' equity, if any, that are measured at fair value on a nonrecurring basis in periods after initial recognition (for example, impaired assets). Disclosures may include, but are not limited to: (a) the fair value measurements recorded and the reasons for the measurements and (b) the level within the fair value hierarchy in which the fair value measurements are categorized in their entirety (levels 1, 2, 3).",
        "label": "Fair Value Measurements, Nonrecurring [Table Text Block]",
        "terseLabel": "Schedule of Assets Measured at Fair Value on Nonrecurring Basis"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r222",
      "r234",
      "r235",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r325",
      "r356",
      "r357",
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "auth_ref": [
      "r222",
      "r234",
      "r235",
      "r324",
      "r332"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement basis.",
        "label": "Measurement Basis [Axis]",
        "terseLabel": "Measurement Basis"
       }
      }
     },
     "localname": "FairValueByMeasurementBasisAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r324",
      "r325",
      "r327",
      "r328",
      "r333"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosureItemAmountsDomain": {
     "auth_ref": [
      "r222",
      "r234",
      "r235"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement basis, for example, but not limited to, reported value, fair value, portion at fair value, portion at other than fair value.",
        "label": "Fair Value Measurement [Domain]",
        "terseLabel": "Fair Value Measurement"
       }
      }
     },
     "localname": "FairValueDisclosureItemAmountsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r222",
      "r246",
      "r247",
      "r252",
      "r253",
      "r325",
      "r356"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level 1"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r222",
      "r234",
      "r235",
      "r246",
      "r247",
      "r252",
      "r253",
      "r325",
      "r357"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Level 2"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r222",
      "r234",
      "r235",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r325",
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Level 3"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementInputsDisclosureTextBlock": {
     "auth_ref": [
      "r334"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of the fair value measurement of assets and liabilities, which includes financial instruments measured at fair value that are classified in shareholders' equity, which may be measured on a recurring or nonrecurring basis.",
        "label": "Fair Value Measurement and Measurement Inputs, Recurring and Nonrecurring [Text Block]",
        "terseLabel": "Fair Value Measurements and Disclosures"
       }
      }
     },
     "localname": "FairValueMeasurementInputsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosures"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r222",
      "r234",
      "r235",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r356",
      "r357",
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsNonrecurringMember": {
     "auth_ref": [
      "r324",
      "r325",
      "r327",
      "r328",
      "r329",
      "r333"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Infrequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, not frequently measured at fair value.",
        "label": "Fair Value, Nonrecurring [Member]",
        "terseLabel": "Fair Value, Measurements, Nonrecurring"
       }
      }
     },
     "localname": "FairValueMeasurementsNonrecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r330",
      "r333"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Fair Value, Measurements, Recurring"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FederalDepositInsuranceCorporationPremiumExpense": {
     "auth_ref": [
      "r399"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 10.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for Federal Deposit Insurance Corporation (FDIC) insurance.",
        "label": "Federal Deposit Insurance Corporation Premium Expense",
        "terseLabel": "Federal deposit insurance premiums"
       }
      }
     },
     "localname": "FederalDepositInsuranceCorporationPremiumExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesBranchOfFHLBBankAmountOfAdvancesByBranch": {
     "auth_ref": [
      "r418"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advances from the Federal Home Loan Bank (FHLB).",
        "label": "Federal Home Loan Bank, Advances, Branch of FHLB Bank, Amount of Advances",
        "verboseLabel": "Advances from FHLB"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesBranchOfFHLBBankAmountOfAdvancesByBranch",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresCollateralPledged1": {
     "auth_ref": [
      "r418",
      "r419"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the collateral pledged in support of federal home loan bank advances outstanding.",
        "label": "Federal Home Loan Bank, Advances, General Debt Obligations, Disclosures, Collateral Pledged",
        "terseLabel": "Advances from FHLB collateralized by certain loans"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresCollateralPledged1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate of advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank, Advances, Interest Rate",
        "terseLabel": "Advances from FHLB, Interest Rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Federal Home Loan Bank, Advances [Line Items]",
        "terseLabel": "Federal Home Loan Bank Advances [Line Items]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMember": {
     "auth_ref": [
      "r381"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowings from the Federal Home Loan Bank, which are primarily used to cover shortages in the required reserve balance and also in times of liquidity shortages. The member institution executes a promissory note, which is generally collateralized by government securities to the Federal Reserve or loans.",
        "label": "Federal Home Loan Bank Advances [Member]",
        "terseLabel": "Federal Home Loan Bank"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank, Advances [Table]",
        "terseLabel": "Federal Home Loan Bank Advances [Table]"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank, Advances [Table Text Block]",
        "terseLabel": "Schedule of Federal Home Loan Bank of Atlanta (FHLB) Advances"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesValuationAdjustmentsUnderFairValueOption": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated increase (decrease) on advances made and reported by Federal Home Loan Bank (FHLBank) from fair value option adjustments.",
        "label": "Federal Home Loan Bank, Advances, Valuation Adjustments under Fair Value Option",
        "terseLabel": "Advances from FHLB, Fair Value Adjustment",
        "verboseLabel": "Fair value adjustment"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesValuationAdjustmentsUnderFairValueOption",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsScheduleOfFederalHomeLoanBankOfAtlantaFHLBAdvancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure": {
     "auth_ref": [
      "r381"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of borrowing from Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank Borrowings, Fair Value Disclosure",
        "terseLabel": "FHLB advances"
       }
      }
     },
     "localname": "FederalHomeLoanBankBorrowingsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankStock": {
     "auth_ref": [
      "r415"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal Home Loan Bank (FHLB) stock represents an equity interest in a FHLB. It does not have a readily determinable fair value because its ownership is restricted and it lacks a market (liquidity).",
        "label": "Federal Home Loan Bank Stock",
        "terseLabel": "Investment in FHLB stock"
       }
      }
     },
     "localname": "FederalHomeLoanBankStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialAssetNotPastDueMember": {
     "auth_ref": [
      "r175",
      "r185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset not past due.",
        "label": "Financial Asset, Not Past Due [Member]",
        "terseLabel": "Current"
       }
      }
     },
     "localname": "FinancialAssetNotPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialAssetPastDueMember": {
     "auth_ref": [
      "r144",
      "r175",
      "r185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset past due.",
        "label": "Financial Asset, Past Due [Member]",
        "terseLabel": "Total Past Due"
       }
      }
     },
     "localname": "FinancialAssetPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Allowance for Credit Loss, Additional Information [Abstract]",
        "terseLabel": "Ending allowance attributable to loans:"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment": {
     "auth_ref": [
      "r128"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The valuation allowance for financing receivables that are expected to be uncollectible that were collectively evaluated for impairment.",
        "label": "Financing Receivable, Allowance for Credit Losses, Collectively Evaluated for Impairment",
        "terseLabel": "Collectively evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1": {
     "auth_ref": [
      "r128"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of valuation allowance for financing receivables that are expected to be uncollectible that were individually evaluated for impairment.",
        "label": "Financing Receivable, Allowance for Credit Losses, Individually Evaluated for Impairment",
        "terseLabel": "Individually evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Financing Receivable, Allowance for Credit Loss [Line Items]",
        "terseLabel": "Financing Receivable Allowance For Credit Losses [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Financing Receivable, Allowance for Credit Loss [Roll Forward]",
        "terseLabel": "Allowance for loan losses:"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment": {
     "auth_ref": [
      "r129"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The balance of financing receivables that were collectively evaluated for impairment.",
        "label": "Financing Receivable, Collectively Evaluated for Impairment",
        "terseLabel": "Collectively evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableCollectivelyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock": {
     "auth_ref": [
      "r138",
      "r180"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financing receivables by credit quality indicator. The credit quality indicator is a statistic about the credit quality of financing receivables. Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics.",
        "label": "Financing Receivable Credit Quality Indicators [Table Text Block]",
        "terseLabel": "Summary of Risk Category of Loans by Class of Loans"
       }
      }
     },
     "localname": "FinancingReceivableCreditQualityIndicatorsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancingReceivableImpairedLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Financing Receivable, Impaired [Line Items]",
        "terseLabel": "Financing Receivable Impaired [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableImpairedLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment": {
     "auth_ref": [
      "r129"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The balance of financing receivables that were individually evaluated for impairment.",
        "label": "Financing Receivable, Individually Evaluated for Impairment",
        "terseLabel": "Individually evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableIndividuallyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsSubsequentDefaultNumberOfContracts1": {
     "auth_ref": [
      "r140"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of financing receivable contracts modified as troubled debt restructuring within previous 12 months, with subsequent payment default.",
        "label": "Financing Receivable, Troubled Debt Restructuring, Subsequent Default, Number of Contracts",
        "terseLabel": "Troubled Debt Restructurings that have Subsequently Defaulted, Number of Contracts"
       }
      }
     },
     "localname": "FinancingReceivableModificationsSubsequentDefaultNumberOfContracts1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1": {
     "auth_ref": [
      "r139"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable modified as troubled debt restructuring within previous 12 months, with subsequent payment default.",
        "label": "Financing Receivable, Troubled Debt Restructuring, Subsequent Default",
        "verboseLabel": "Troubled debt restructurings that have subsequently defaulted, recorded investment"
       }
      }
     },
     "localname": "FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentAxis": {
     "auth_ref": [
      "r172",
      "r174",
      "r181",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r474",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
        "label": "Financing Receivable Portfolio Segment [Axis]",
        "terseLabel": "Financing Receivable Portfolio Segment"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodParentheticalDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentDomain": {
     "auth_ref": [
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r474",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
        "label": "Financing Receivable Portfolio Segment [Domain]",
        "terseLabel": "Financing Receivable Portfolio Segment"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodParentheticalDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing": {
     "auth_ref": [
      "r142",
      "r177",
      "r185"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable 90 days or more past due and still accruing. Excludes net investment in lease.",
        "label": "Financing Receivable, 90 Days or More Past Due, Still Accruing",
        "terseLabel": "Total Past Due"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus": {
     "auth_ref": [
      "r141",
      "r176",
      "r479",
      "r480"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable on nonaccrual status. Excludes net investment in lease.",
        "label": "Financing Receivable, Nonaccrual",
        "terseLabel": "Nonaccrual"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentNonaccrualStatus",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Financing Receivable, Past Due [Line Items]",
        "terseLabel": "Financing Receivable Recorded Investment Past Due [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentPastDueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivables30To59DaysPastDueMember": {
     "auth_ref": [
      "r185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset more than 29 days past due but fewer than 60 days past due.",
        "label": "Financial Asset, 30 to 59 Days Past Due [Member]",
        "terseLabel": "30 -59 Days Past Due"
       }
      }
     },
     "localname": "FinancingReceivables30To59DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivables60To89DaysPastDueMember": {
     "auth_ref": [
      "r185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset more than 59 days past due but fewer than 90 days past due.",
        "label": "Financial Asset, 60 to 89 Days Past Due [Member]",
        "terseLabel": "60- 89 Days Past Due"
       }
      }
     },
     "localname": "FinancingReceivables60To89DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember": {
     "auth_ref": [
      "r185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset equal to or greater than 90 days past due.",
        "label": "Financial Asset, Equal to or Greater than 90 Days Past Due [Member]",
        "terseLabel": "90 Days or Greater Past Due",
        "verboseLabel": "90 Days or Greater Past Due"
       }
      }
     },
     "localname": "FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "auth_ref": [
      "r144",
      "r175",
      "r185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by period in which financial asset is past due or not past due.",
        "label": "Financial Asset, Aging [Axis]",
        "terseLabel": "Financial Asset, Period Past Due"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueDomain": {
     "auth_ref": [
      "r144",
      "r175",
      "r185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period in which financial asset is past due or not past due. For past due, element name and standard label in Financial Asset, [numeric lower end] to [numeric higher end] [date measure] Past Due [Member] or Financial Asset, Greater than [low end numeric value] [date measure] Past Due [Member] or Financial Asset, Less than [high end numeric value] [date measure] Past Due [Member] formats.",
        "label": "Financial Asset, Aging [Domain]",
        "terseLabel": "Financial Asset, Period Past Due"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ForeclosedRealEstateExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense recognized during the period for the foreclosure on real estate assets.",
        "label": "Foreclosed Real Estate Expense",
        "terseLabel": "Other real estate owned"
       }
      }
     },
     "localname": "ForeclosedRealEstateExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainsLossesOnSalesOfOtherRealEstate": {
     "auth_ref": [
      "r398"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net gain (loss) resulting from sales and other disposals of other real estate owned, increases (decreases) in the valuation allowance for foreclosed real estate, and write-downs of other real estate owned after acquisition or physical possession.",
        "label": "Gains (Losses) on Sales of Other Real Estate",
        "negatedLabel": "Net (gain) on sale of other real estate owned"
       }
      }
     },
     "localname": "GainsLossesOnSalesOfOtherRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment": {
     "auth_ref": [
      "r134",
      "r137"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, Average Recorded Investment",
        "totalLabel": "Total impaired loans, Average Recorded Investment"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableAverageRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod": {
     "auth_ref": [
      "r135"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income recognized that the financing receivables (with related allowance for credit losses and without a related allowance for credit losses) were impaired.",
        "label": "Impaired Financing Receivable, Interest Income, Accrual Method",
        "totalLabel": "Total impaired loans, Interest Income Recognized"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableInterestIncomeAccrualMethod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableRecordedInvestment": {
     "auth_ref": [
      "r131"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      },
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, Recorded Investment",
        "totalLabel": "Total impaired loans, Recorded Investment",
        "verboseLabel": "Impaired loans"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNonrecurringBasisDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableRelatedAllowance": {
     "auth_ref": [
      "r132"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": 1.0,
       "parentTag": "afbi_ImpairedFinancingReceivableAllocatedRelatedAllowance",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit losses related to recorded investment.",
        "label": "Impaired Financing Receivable, Related Allowance",
        "terseLabel": "Allocated Related Allowance, With an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableRelatedAllowance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance": {
     "auth_ref": [
      "r133"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unpaid principal balance of impaired financing receivables with related allowance for credit losses and without related allowance for credit losses.",
        "label": "Impaired Financing Receivable, Unpaid Principal Balance",
        "totalLabel": "Total impaired loans, Unpaid Principal Balance"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableUnpaidPrincipalBalance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment": {
     "auth_ref": [
      "r134",
      "r137"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of average investment of impaired financing receivables for which there is no related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with No Related Allowance, Average Recorded Investment",
        "terseLabel": "Average Recorded Investment, With no related allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod": {
     "auth_ref": [
      "r135"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income, recognized on accrual basis, on financing receivables that are recognized as impaired, for which there is no related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with No Related Allowance, Interest Income, Accrual Method",
        "terseLabel": "Interest Income Recognized, With no related allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment": {
     "auth_ref": [
      "r131"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableRecordedInvestment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in impaired financing receivables for which there is no related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with No Related Allowance, Recorded Investment",
        "terseLabel": "Recorded Investment, With no related allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance": {
     "auth_ref": [
      "r133"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unpaid principal balance of impaired financing receivables for which there is no related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with No Related Allowance, Unpaid Principal Balance",
        "terseLabel": "Unpaid Principal Balance, With no related allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment": {
     "auth_ref": [
      "r134",
      "r137"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of average investment of impaired financing receivables for which there is a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with Related Allowance, Average Recorded Investment",
        "terseLabel": "Average Recorded Investment, With an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod": {
     "auth_ref": [
      "r135"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income, recognized on accrual basis, on financing receivables, for which there is a related allowance for credit losses and are recognized as impaired.",
        "label": "Impaired Financing Receivable, with Related Allowance, Interest Income, Accrual Method",
        "terseLabel": "Interest Income Recognized, With an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment": {
     "auth_ref": [
      "r131"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableRecordedInvestment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in impaired financing receivables for which there is a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with Related Allowance, Recorded Investment",
        "terseLabel": "Recorded Investment, With an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance": {
     "auth_ref": [
      "r133"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unpaid principal balance of impaired financing receivables for which there is a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance",
        "terseLabel": "Unpaid Principal Balance, With an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r136"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of impaired financing receivables.",
        "label": "Impaired Financing Receivables [Table Text Block]",
        "terseLabel": "Summary of Impaired Loans"
       }
      }
     },
     "localname": "ImpairedFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r43",
      "r115",
      "r116",
      "r119",
      "r120",
      "r122",
      "r369",
      "r386",
      "r406",
      "r432"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "totalLabel": "Income before income taxes"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r76",
      "r90",
      "r91",
      "r114",
      "r305",
      "r308",
      "r309",
      "r433"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "terseLabel": "Income tax expense",
        "totalLabel": "Income Tax Expense (Benefit), Total"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "auth_ref": [
      "r71"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes.",
        "label": "Income Taxes Paid, Net",
        "terseLabel": "Cash paid for income taxes",
        "totalLabel": "Income Taxes Paid, Net, Total"
       }
      }
     },
     "localname": "IncomeTaxesPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets": {
     "auth_ref": [
      "r66"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in receivables, and operating assets classified as other.",
        "label": "Increase (Decrease) in Accounts Receivable and Other Operating Assets",
        "negatedLabel": "Accrued interest receivable and other assets",
        "terseLabel": "Accrued interest receivable and other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsReceivableAndOtherOperatingAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeposits": {
     "auth_ref": [
      "r70",
      "r404"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net cash inflow or outflow for the increase (decrease) in the beginning and end of period deposits balances.",
        "label": "Increase (Decrease) in Deposits",
        "terseLabel": "Net change in deposits",
        "totalLabel": "Increase (Decrease) in Deposits, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeposits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Capital [Abstract]",
        "terseLabel": "Change in:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities": {
     "auth_ref": [
      "r66"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in other obligations or expenses incurred but not yet paid.",
        "label": "Increase (Decrease) in Other Accounts Payable and Accrued Liabilities",
        "terseLabel": "Accrued interest payable and other liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InformationTechnologyAndDataProcessing": {
     "auth_ref": [
      "r49"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expenses incurred in the period for information technology and data processing products and services.",
        "label": "Information Technology and Data Processing",
        "terseLabel": "Data processing"
       }
      }
     },
     "localname": "InformationTechnologyAndDataProcessing",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IntangibleAssetsNetIncludingGoodwill": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of finite-lived intangible assets, indefinite-lived intangible assets and goodwill. Goodwill is an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. Intangible assets are assets, not including financial assets, lacking physical substance.",
        "label": "Intangible Assets, Net (Including Goodwill)",
        "terseLabel": "Intangible assets",
        "totalLabel": "Intangible Assets, Net (Including Goodwill), Total"
       }
      }
     },
     "localname": "IntangibleAssetsNetIncludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "auth_ref": [
      "r392"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the total of interest and dividend income, including any amortization and accretion (as applicable) of discounts and premiums, earned from (1) loans and leases whether held-for-sale or held-in-portfolio; (2) investment securities; (3) federal funds sold; (4) securities purchased under agreements to resell; (5) investments in banker's acceptances, commercial paper, or certificates of deposit; (6) dividend income; or (7) other investments not otherwise specified herein.",
        "label": "Interest and Dividend Income, Operating",
        "totalLabel": "Total interest income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperatingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Dividend Income, Operating [Abstract]",
        "terseLabel": "Interest income:"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperatingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndDividendIncomeSecurities": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating dividend and interest income, including amortization and accretion of premiums and discounts, on securities.",
        "label": "Interest and Dividend Income, Securities, Operating",
        "terseLabel": "Investment securities, including dividends",
        "totalLabel": "Interest and Dividend Income, Securities, Operating, Total"
       }
      }
     },
     "localname": "InterestAndDividendIncomeSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndFeeIncomeLoansAndLeases": {
     "auth_ref": [
      "r391"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate interest and fee income generated by: (1) loans the Entity has positive intent and ability to hold for the foreseeable future, or until maturity or payoff, including commercial and consumer loans, whether domestic or foreign, which may consist of: (a) industrial and agricultural; (b) real estate; and (c) real estate construction loans; (d) trade financing; (e) lease financing; (f) home equity lines-of-credit; (g) automobile and other vehicle loans; and (h) credit card and other revolving-type loans and (2) loans and leases held-for-sale which may include mortgage loans, direct financing, and sales-type leases.",
        "label": "Interest and Fee Income, Loans and Leases",
        "terseLabel": "Loans, including fees",
        "totalLabel": "Interest and Fee Income, Loans and Leases, Total"
       }
      }
     },
     "localname": "InterestAndFeeIncomeLoansAndLeases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositLiabilities": {
     "auth_ref": [
      "r380"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate of all domestic and foreign interest-bearing deposit liabilities.",
        "label": "Interest-Bearing Deposit Liabilities",
        "terseLabel": "Interest-bearing checking",
        "totalLabel": "Interest-bearing Deposit Liabilities, Total"
       }
      }
     },
     "localname": "InterestBearingDepositLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositsInBanks": {
     "auth_ref": [
      "r371",
      "r382"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For banks and other depository institutions (including Federal Reserve Banks, if applicable): Interest-bearing deposits in other financial institutions for relatively short periods of time including, for example, certificates of deposits, which are presented separately from cash on the balance sheet.",
        "label": "Interest-Bearing Deposits in Banks and Other Financial Institutions",
        "terseLabel": "Interest-earning deposits in other depository institutions"
       }
      }
     },
     "localname": "InterestBearingDepositsInBanks",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r42",
      "r113",
      "r348",
      "r349",
      "r403"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "terseLabel": "Interest expense decreased",
        "totalLabel": "Total interest expense"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expense [Abstract]",
        "terseLabel": "Interest expense:"
       }
      }
     },
     "localname": "InterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestExpenseBorrowings": {
     "auth_ref": [
      "r402"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of interest expense on all borrowings.",
        "label": "Interest Expense, Borrowings",
        "terseLabel": "Borrowings",
        "totalLabel": "Interest Expense, Borrowings, Total"
       }
      }
     },
     "localname": "InterestExpenseBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseDeposits": {
     "auth_ref": [
      "r401"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of interest expense on all deposits.",
        "label": "Interest Expense, Deposits",
        "terseLabel": "Deposits",
        "totalLabel": "Interest Expense, Deposits, Total"
       }
      }
     },
     "localname": "InterestExpenseDeposits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeDepositsWithFinancialInstitutions": {
     "auth_ref": [
      "r400",
      "r468",
      "r469"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest income derived from funds deposited with both domestic and foreign financial institutions including funds in money market and other accounts.",
        "label": "Interest Income, Deposits with Financial Institutions",
        "terseLabel": "Interest-earning deposits",
        "totalLabel": "Interest Income, Deposits with Financial Institutions, Total"
       }
      }
     },
     "localname": "InterestIncomeDepositsWithFinancialInstitutions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss": {
     "auth_ref": [
      "r395"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income or expense, including any amortization and accretion (as applicable) of discounts and premiums, including consideration of the provisions for loan, lease, credit, and other related losses.",
        "label": "Interest Income (Expense), after Provision for Loan Loss",
        "totalLabel": "Net interest income after provision for loan losses"
       }
      }
     },
     "localname": "InterestIncomeExpenseAfterProvisionForLoanLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r393"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of operating interest income (expense).",
        "label": "Interest Income (Expense), Net",
        "totalLabel": "Net interest income before provision for loan losses"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r60",
      "r64",
      "r71"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "Cash paid for interest"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestReceivableAndOtherAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 8.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest receivable and assets classified as other.",
        "label": "Interest Receivable and Other Assets",
        "terseLabel": "Accrued interest receivable and other assets"
       }
      }
     },
     "localname": "InterestReceivableAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InternalCreditAssessmentAxis": {
     "auth_ref": [
      "r138",
      "r180",
      "r183",
      "r184",
      "r194",
      "r320"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by entity-defined rating.",
        "label": "Internal Credit Assessment [Axis]",
        "terseLabel": "Internal Credit Assessment"
       }
      }
     },
     "localname": "InternalCreditAssessmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InternalCreditAssessmentDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity defined credit risk rating.",
        "label": "Internal Credit Assessment [Domain]",
        "terseLabel": "Internal Credit Assessment"
       }
      }
     },
     "localname": "InternalCreditAssessmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]",
        "terseLabel": "Investment Type"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value.",
        "label": "Investments [Domain]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "InvestmentTypeCategorizationMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments.",
        "label": "Investments Classified by Contractual Maturity Date [Table Text Block]",
        "terseLabel": "Schedule of Amortized Cost and Estimated Fair Value of Investment Securities Available-for-Sale by Contractual Maturity"
       }
      }
     },
     "localname": "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments, Debt and Equity Securities [Abstract]"
       }
      }
     },
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r166",
      "r370",
      "r414",
      "r460",
      "r475"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for investments in certain debt and equity securities.",
        "label": "Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]",
        "terseLabel": "Investment Securities"
       }
      }
     },
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecurities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LaborAndRelatedExpense": {
     "auth_ref": [
      "r48"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit.",
        "label": "Labor and Related Expense",
        "terseLabel": "Salaries and employee benefits"
       }
      }
     },
     "localname": "LaborAndRelatedExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r19",
      "r75",
      "r118",
      "r168",
      "r196",
      "r197",
      "r198",
      "r200",
      "r201",
      "r202",
      "r203",
      "r204",
      "r205",
      "r206",
      "r312",
      "r316",
      "r317",
      "r339",
      "r353",
      "r354"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "Liabilities:"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r17",
      "r75",
      "r168",
      "r339",
      "r355",
      "r377",
      "r424"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "Total liabilities and stockholders' equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities and Equity [Abstract]",
        "terseLabel": "Liabilities and Stockholders' Equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Fair Value Disclosure [Abstract]",
        "terseLabel": "Financial liabilities:"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue": {
     "auth_ref": [
      "r169"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The change in cash surrender or contract value during the period which adjusted the amount of premiums paid in determining the expense or income recognized under the contract for the period.",
        "label": "Life Insurance, Corporate or Bank Owned, Change in Value",
        "negatedLabel": "Increase in cash surrender value of bank owned life insurance"
       }
      }
     },
     "localname": "LifeInsuranceCorporateOrBankOwnedChangeInValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCredit": {
     "auth_ref": [
      "r8",
      "r376",
      "r420"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.",
        "label": "Long-Term Line of Credit",
        "terseLabel": "Line of credit amount outstanding",
        "totalLabel": "Long-term Line of Credit, Total"
       }
      }
     },
     "localname": "LineOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Line of Credit Facility [Line Items]",
        "terseLabel": "Line Of Credit Facility [Line Items]"
       }
      }
     },
     "localname": "LineOfCreditFacilityLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "auth_ref": [
      "r18"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.",
        "label": "Line of Credit Facility, Maximum Borrowing Capacity",
        "terseLabel": "Line of credit"
       }
      }
     },
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityTable": {
     "auth_ref": [
      "r18",
      "r74"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.",
        "label": "Line of Credit Facility [Table]",
        "terseLabel": "Line Of Credit Facility [Table]"
       }
      }
     },
     "localname": "LineOfCreditFacilityTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoanRestructuringModificationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by concessions made to the terms of loan contracts.",
        "label": "Loan Restructuring Modification [Axis]",
        "terseLabel": "Loan Restructuring Modification"
       }
      }
     },
     "localname": "LoanRestructuringModificationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoanRestructuringModificationDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Concessions made to the terms of loan contracts, including but not limited to, interest rate reductions, maturity extensions, principal forgiveness, and payment deferral.",
        "label": "Loan Restructuring Modification [Domain]",
        "terseLabel": "Loan Restructuring Modification"
       }
      }
     },
     "localname": "LoanRestructuringModificationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansAndLeasesReceivableAllowance": {
     "auth_ref": [
      "r124",
      "r128",
      "r146",
      "r148"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance to cover probable credit losses on loans and leases. Includes carryover of or adjustments to the allowance for loan losses in connection with business combinations. Excludes allowance for loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, Allowance",
        "negatedLabel": "Less allowance for loan losses",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Allowances for loan losses",
        "totalLabel": "Loans and Leases Receivable, Allowance, Total",
        "verboseLabel": "Allowance for loan losses"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableAllowance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodParentheticalDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Loans and Leases Receivable Disclosure [Line Items]",
        "terseLabel": "Loans And Leases Receivable Disclosure [Line Items]"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableDisclosureLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansAndLeasesReceivableDisclosureTable": {
     "auth_ref": [
      "r123"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about loans and leases receivable.",
        "label": "Loans and Leases Receivable Disclosure [Table]",
        "terseLabel": "Loans And Leases Receivable Disclosure [Table]"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableDisclosureTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount": {
     "auth_ref": [
      "r123"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allowance of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Includes deferred interest and fees, undisbursed portion of loan balance, unamortized costs and premiums and discounts from face amounts. Excludes loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, Gross",
        "terseLabel": "Total loans, gross",
        "totalLabel": "Total loans",
        "verboseLabel": "Total"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableGrossCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetReportedAmount": {
     "auth_ref": [
      "r123",
      "r383"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after allowance and deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements and loans held for sale.",
        "label": "Loans and Leases Receivable, Net Amount",
        "terseLabel": "Loans, net",
        "totalLabel": "Total loans, net"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNetReportedAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfMajorClassificationsOfLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by US and non-US government sponsored enterprise, authority, agency and program guarantees for government insured loans.",
        "label": "Loans Insured or Guaranteed by Government Authorities [Axis]",
        "terseLabel": "Loans Insured or Guaranteed by Government Authorities"
       }
      }
     },
     "localname": "LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guarantee by US and non-US government sponsored enterprises, authorities, agencies and programs for government insured loans.",
        "label": "Loans Insured or Guaranteed by Government Authorities [Domain]",
        "terseLabel": "Loans Insured or Guaranteed by Government Authorities"
       }
      }
     },
     "localname": "LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock": {
     "auth_ref": [
      "r147"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for claims held for amounts due a entity, excluding financing receivables. Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables. Includes disclosure for allowance for credit losses.",
        "label": "Loans, Notes, Trade and Other Receivables Disclosure [Text Block]",
        "terseLabel": "Loans and Allowance for Loan Losses"
       }
      }
     },
     "localname": "LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLosses"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansReceivableFairValueDisclosure": {
     "auth_ref": [
      "r147"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of loan receivable, including, but not limited to, mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts.",
        "label": "Loans Receivable, Fair Value Disclosure",
        "terseLabel": "Loans, net"
       }
      }
     },
     "localname": "LoansReceivableFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r20"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Long-Term Debt, Type [Axis]"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r20",
      "r195"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Long-Term Debt, Type [Domain]"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember": {
     "auth_ref": [
      "r246"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt securities collateralized by real estate mortgage loans (mortgages), issued by US Government Sponsored Enterprises, such as Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac).",
        "label": "Mortgage-Backed Securities, Issued by US Government Sponsored Enterprises [Member]",
        "terseLabel": "Government Agency Mortgage-Backed Securities"
       }
      }
     },
     "localname": "MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NatureOfOperations": {
     "auth_ref": [
      "r104",
      "r112"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the nature of an entity's business, major products or services, principal markets including location, and the relative importance of its operations in each business and the basis for the determination, including but not limited to, assets, revenues, or earnings. For an entity that has not commenced principal operations, disclosures about the risks and uncertainties related to the activities in which the entity is currently engaged and an understanding of what those activities are being directed toward.",
        "label": "Nature of Operations [Text Block]",
        "terseLabel": "Nature of Operations"
       }
      }
     },
     "localname": "NatureOfOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash used in financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Cash flows from financing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash used in investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "Cash flows from investing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r63",
      "r65",
      "r68"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Cash flows from operating activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r1",
      "r31",
      "r34",
      "r39",
      "r44",
      "r68",
      "r75",
      "r82",
      "r84",
      "r85",
      "r86",
      "r87",
      "r90",
      "r91",
      "r95",
      "r115",
      "r116",
      "r119",
      "r120",
      "r122",
      "r168",
      "r196",
      "r197",
      "r198",
      "r200",
      "r201",
      "r202",
      "r203",
      "r204",
      "r205",
      "r206",
      "r323",
      "r339",
      "r387",
      "r427"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLossIncomeUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "terseLabel": "Net income",
        "totalLabel": "Net income",
        "verboseLabel": "Net income"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsScheduleOfCalculationsForBasicAndDilutedEarningsPerCommonShareDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLossIncomeUnaudited",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Recent Accounting Pronouncements"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoninterestBearingDepositLiabilities": {
     "auth_ref": [
      "r380"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of all domestic and foreign noninterest-bearing deposits liabilities held by the entity.",
        "label": "Noninterest-Bearing Deposit Liabilities",
        "terseLabel": "Non-interest-bearing checking",
        "totalLabel": "Noninterest-bearing Deposit Liabilities, Total"
       }
      }
     },
     "localname": "NoninterestBearingDepositLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpense": {
     "auth_ref": [
      "r399"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total aggregate amount of all noninterest expense.",
        "label": "Noninterest Expense",
        "totalLabel": "Total noninterest expenses"
       }
      }
     },
     "localname": "NoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noninterest Expense [Abstract]",
        "terseLabel": "Noninterest expenses:"
       }
      }
     },
     "localname": "NoninterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestExpenseDirectorsFees": {
     "auth_ref": [
      "r399"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 9.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noninterest expense related to directors' fees which are fees paid by an Entity to its directors. Directors' fees may be paid in addition to salary and other benefits.",
        "label": "Noninterest Expense Directors Fees",
        "terseLabel": "Director compensation"
       }
      }
     },
     "localname": "NoninterestExpenseDirectorsFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestIncome": {
     "auth_ref": [
      "r396"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of noninterest income which may be derived from: (1) fees and commissions; (2) premiums earned; (3) insurance policy charges; (4) the sale or disposal of assets; and (5) other sources not otherwise specified.",
        "label": "Noninterest Income",
        "totalLabel": "Total noninterest income"
       }
      }
     },
     "localname": "NoninterestIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noninterest Income [Abstract]",
        "terseLabel": "Noninterest income:"
       }
      }
     },
     "localname": "NoninterestIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncomeOtherOperatingIncome": {
     "auth_ref": [
      "r41",
      "r385",
      "r431"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue earned, classified as other, excluding interest income.",
        "label": "Noninterest Income, Other Operating Income",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "NoninterestIncomeOtherOperatingIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NontaxableMunicipalBondsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long-term debt securities issued by state, city or local governments or the agencies operated by state, city or local governments that are not taxable.",
        "label": "Nontaxable Municipal Bonds [Member]",
        "terseLabel": "Municipal Securities - Tax Exempt"
       }
      }
     },
     "localname": "NontaxableMunicipalBondsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NotesReceivableGross": {
     "auth_ref": [
      "r11",
      "r144",
      "r171",
      "r175",
      "r179",
      "r184",
      "r185",
      "r476",
      "r478",
      "r479"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost, before allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease.",
        "label": "Financing Receivable, before Allowance for Credit Loss",
        "terseLabel": "Total Past Due",
        "totalLabel": "Financing Receivable, before Allowance for Credit Loss, Total",
        "verboseLabel": "Qualifying loans pledged to secure the line of credit from FHLB"
       }
      }
     },
     "localname": "NotesReceivableGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OccupancyNet": {
     "auth_ref": [
      "r49",
      "r351",
      "r397"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net occupancy expense that may include items, such as depreciation of facilities and equipment, lease expenses, property taxes and property and casualty insurance expense.",
        "label": "Occupancy, Net",
        "terseLabel": "Occupancy"
       }
      }
     },
     "localname": "OccupancyNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax": {
     "auth_ref": [
      "r24",
      "r25",
      "r27"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax and adjustment, of unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "OCI, Debt Securities, Available-for-Sale, Gain (Loss), after Adjustment and Tax",
        "totalLabel": "OCI, Debt Securities, Available-for-Sale, Gain (Loss), after Adjustment and Tax, Total",
        "verboseLabel": "Change in unrealized loss on investment securities available- for-sale"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r32",
      "r35",
      "r37",
      "r38",
      "r40",
      "r45",
      "r240",
      "r341",
      "r346",
      "r347",
      "r388",
      "r428"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLossIncomeUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), Net of Tax",
        "totalLabel": "Total other comprehensive loss"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLossIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Net of Tax [Abstract]",
        "terseLabel": "Other comprehensive loss:"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLossIncomeUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax": {
     "auth_ref": [
      "r24",
      "r27"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLossIncomeUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax and before adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment, after Tax",
        "terseLabel": "Net unrealized loss on available-for-sale securities, net of taxes of $730, $26, $1,662 and $121"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLossIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax": {
     "auth_ref": [
      "r25",
      "r28"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before adjustment, of tax expense (benefit) for unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes tax expense (benefit) for unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment, Tax",
        "terseLabel": "Net unrealized loss on available for sale securities, tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLossIncomeUnauditedParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherInvestments": {
     "auth_ref": [
      "r4",
      "r426"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investments classified as other.",
        "label": "Other Investments",
        "terseLabel": "Other investments",
        "totalLabel": "Other Investments, Total"
       }
      }
     },
     "localname": "OtherInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoninterestExpense": {
     "auth_ref": [
      "r399"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 13.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noninterest expense classified as other.",
        "label": "Other Noninterest Expense",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherNoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherRealEstate": {
     "auth_ref": [
      "r379"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of other real estate not separately disclosed, including, but not limited to, real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. This does not include real estate assets taken in settlement of troubled loans through surrender or foreclosure.",
        "label": "Other Real Estate",
        "periodEndLabel": "Other Real Estate, Ending Balance",
        "periodStartLabel": "Other Real Estate, Beginning Balance",
        "terseLabel": "Other real estate owned",
        "totalLabel": "Other Real Estate, Total"
       }
      }
     },
     "localname": "OtherRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PassMember": {
     "auth_ref": [
      "r138",
      "r180"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category of financing receivables not considered to be special mention, substandard, doubtful, and loss receivables.",
        "label": "Pass [Member]",
        "terseLabel": "Pass"
       }
      }
     },
     "localname": "PassMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PaymentsForFederalHomeLoanBankAdvances": {
     "auth_ref": [
      "r53"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for disbursement to borrower related to advance, made by Federal Home Loan Bank (FHLBank), classified as investing activity.",
        "label": "Payments for FHLBank Advance, Investing Activities",
        "negatedLabel": "Repayment of FHLB advances"
       }
      }
     },
     "localname": "PaymentsForFederalHomeLoanBankAdvances",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromLoansAndLeases": {
     "auth_ref": [
      "r405"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net cash outflow or inflow for the increase (decrease) in the beginning and end of period of loan and lease balances which are not originated or purchased specifically for resale. Includes cash payments and proceeds associated with (a) loans held-for-investment, (b) leases held-for-investment, and (c) both.",
        "label": "Payments for (Proceeds from) Loans and Leases",
        "negatedLabel": "Net change in loans",
        "totalLabel": "Payments for (Proceeds from) Loans and Leases, Total"
       }
      }
     },
     "localname": "PaymentsForProceedsFromLoansAndLeases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "auth_ref": [
      "r57"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to reacquire common stock during the period.",
        "label": "Payments for Repurchase of Common Stock",
        "negatedLabel": "Stock repurchase",
        "terseLabel": "Stock repurchase"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "auth_ref": [
      "r59"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for cost incurred directly with the issuance of an equity security.",
        "label": "Payments of Stock Issuance Costs",
        "negatedLabel": "Stock offering expenses"
       }
      }
     },
     "localname": "PaymentsOfStockIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r50",
      "r53",
      "r150"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow to acquire investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Payments to Acquire Debt Securities, Available-for-Sale",
        "negatedLabel": "Purchases of investment securities available-for-sale"
       }
      }
     },
     "localname": "PaymentsToAcquireAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireOtherInvestments": {
     "auth_ref": [
      "r55"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow to acquire investments classified as other.",
        "label": "Payments to Acquire Other Investments",
        "negatedLabel": "Purchases of other investments"
       }
      }
     },
     "localname": "PaymentsToAcquireOtherInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r54"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedLabel": "Purchases of premises and equipment",
        "totalLabel": "Payments to Acquire Property, Plant, and Equipment, Total"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r259",
      "r260",
      "r261",
      "r263",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r278",
      "r279",
      "r281",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]",
        "terseLabel": "Plan Name"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [
      "r259",
      "r260",
      "r261",
      "r263",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r278",
      "r279",
      "r281",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]",
        "terseLabel": "Plan Name"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PledgedStatusAxis": {
     "auth_ref": [
      "r311",
      "r316"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by pledged or not pledged status of asset owned by entity.",
        "label": "Pledged Status [Axis]"
       }
      }
     },
     "localname": "PledgedStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PledgedStatusDomain": {
     "auth_ref": [
      "r311",
      "r316"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pledged or not pledged status of asset owned by entity.",
        "label": "Pledged Status [Domain]"
       }
      }
     },
     "localname": "PledgedStatusDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PledgingPurposeAxis": {
     "auth_ref": [
      "r311",
      "r316",
      "r365",
      "r366"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by pledging purpose of pledged asset owned.",
        "label": "Pledging Purpose [Axis]"
       }
      }
     },
     "localname": "PledgingPurposeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PledgingPurposeDomain": {
     "auth_ref": [
      "r311",
      "r316",
      "r365",
      "r366"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pledging purpose of pledged asset owned.",
        "label": "Pledging Purpose [Domain]"
       }
      }
     },
     "localname": "PledgingPurposeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r335"
     ],
     "lang": {
      "en-us": {
       "role": {
        "axisDefault": "Portion at Fair Value Measurement [Member] [Default]",
        "documentation": "Measured at fair value for financial reporting purposes.",
        "label": "Portion at Fair Value Measurement [Member]",
        "terseLabel": "Fair Value Disclosure Item Amounts [Default]"
       }
      }
     },
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresScheduleOfCarryingAmountsAndEstimatedFairValuesOfCompanySFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
        "label": "Preferred Stock, Shares Authorized",
        "terseLabel": "Preferred stock, shares authorized"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased.",
        "label": "Preferred Stock, Shares Outstanding",
        "periodEndLabel": "Preferred Stock, Shares Outstanding, Ending Balance",
        "periodStartLabel": "Preferred Stock, Shares Outstanding, Beginning Balance",
        "terseLabel": "Preferred stock, shares outstanding"
       }
      }
     },
     "localname": "PreferredStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockValue": {
     "auth_ref": [
      "r9",
      "r355"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Preferred Stock, Value, Issued",
        "periodEndLabel": "Preferred Stock, Value, Issued, Ending Balance",
        "periodStartLabel": "Preferred Stock, Value, Issued, Beginning Balance",
        "terseLabel": "Preferred stock (10,000,000 shares authorized, no shares outstanding at June 30, 2022 and December 31, 2021",
        "totalLabel": "Preferred Stock, Value, Issued, Total"
       }
      }
     },
     "localname": "PreferredStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromFederalHomeLoanBankAdvances": {
     "auth_ref": [
      "r51"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from collection of advance by Federal Home Loan Bank (FHLBank), classified as investing activity.",
        "label": "Proceeds from FHLBank Advance, Investing Activities",
        "terseLabel": "Proceeds from FHLB advances"
       }
      }
     },
     "localname": "ProceedsFromFederalHomeLoanBankAdvances",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOrSaleOfEquity": {
     "auth_ref": [
      "r56"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the issuance of common stock, preferred stock, treasury stock, stock options, and other types of equity.",
        "label": "Proceeds from Issuance or Sale of Equity",
        "terseLabel": "Proceeds from stock offering",
        "totalLabel": "Proceeds from Issuance or Sale of Equity, Total"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOrSaleOfEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLifeInsurancePolicies": {
     "auth_ref": [
      "r52",
      "r62"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow for proceeds from settlement of corporate-owned life insurance policy, classified as investing activities. Includes, but is not limited to, bank-owned life insurance policy.",
        "label": "Proceeds from Life Insurance Policy",
        "terseLabel": "Proceeds from bank owned life insurance death claim"
       }
      }
     },
     "localname": "ProceedsFromLifeInsurancePolicies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities": {
     "auth_ref": [
      "r50",
      "r51",
      "r150"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from maturity, prepayment and call of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Proceeds from Maturities, Prepayments and Calls of Debt Securities, Available-for-Sale",
        "terseLabel": "Proceeds from paydowns of investment securities available-for-sale"
       }
      }
     },
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfOtherInvestments": {
     "auth_ref": [
      "r52"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from the sale of investments classified as other.",
        "label": "Proceeds from Sale of Other Investments",
        "terseLabel": "Proceeds from sales of other investments"
       }
      }
     },
     "localname": "ProceedsFromSaleOfOtherInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfessionalFees": {
     "auth_ref": [
      "r443",
      "r444"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 7.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A fee charged for services from professionals such as doctors, lawyers and accountants. The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer.",
        "label": "Professional Fees",
        "terseLabel": "Legal and accounting"
       }
      }
     },
     "localname": "ProfessionalFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r1",
      "r31",
      "r34",
      "r39",
      "r61",
      "r75",
      "r82",
      "r90",
      "r91",
      "r115",
      "r116",
      "r119",
      "r120",
      "r122",
      "r168",
      "r196",
      "r197",
      "r198",
      "r200",
      "r201",
      "r202",
      "r203",
      "r204",
      "r205",
      "r206",
      "r310",
      "r313",
      "r314",
      "r318",
      "r319",
      "r323",
      "r339",
      "r406"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net income",
        "totalLabel": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r188",
      "r355",
      "r416",
      "r425"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Net",
        "periodEndLabel": "Property, Plant and Equipment, Net, Ending Balance",
        "periodStartLabel": "Property, Plant and Equipment, Net, Beginning Balance",
        "terseLabel": "Premises and equipment, net",
        "totalLabel": "Property, Plant and Equipment, Net, Total"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProvisionForLoanAndLeaseLosses": {
     "auth_ref": [
      "r66",
      "r125",
      "r394"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense related to estimated loss from loan and lease transactions.",
        "label": "Provision for Loan and Lease Losses",
        "terseLabel": "Provision for loan losses",
        "totalLabel": "Provision for Loan and Lease Losses, Total",
        "verboseLabel": "Provision"
       }
      }
     },
     "localname": "ProvisionForLoanAndLeaseLosses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProvisionForLoanLossesExpensed": {
     "auth_ref": [
      "r173",
      "r384"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of credit loss expense (reversal of expense) for financing receivable.",
        "label": "Financing Receivable, Credit Loss, Expense (Reversal)",
        "terseLabel": "Provision for loan losses"
       }
      }
     },
     "localname": "ProvisionForLoanLossesExpensed",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReceivablesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Receivables [Abstract]"
       }
      }
     },
     "localname": "ReceivablesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings": {
     "auth_ref": [
      "r58"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for repayment of Federal Home Loan Bank (FHLBank) borrowing, classified as financing activity.",
        "label": "Payments of FHLBank Borrowings, Financing Activities",
        "terseLabel": "Repayment of acquired FHLB advances"
       }
      }
     },
     "localname": "RepaymentsOfFederalHomeLoanBankBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfLongTermDebt": {
     "auth_ref": [
      "r58"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer.",
        "label": "Repayments of Long-Term Debt",
        "negatedLabel": "Repayment of holding company loan",
        "totalLabel": "Repayments of Long-term Debt, Total"
       }
      }
     },
     "localname": "RepaymentsOfLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ResidentialPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portfolio segment of the company's total financing receivables related to residential financing receivables.",
        "label": "Residential Portfolio Segment [Member]",
        "terseLabel": "Residential Mortgage"
       }
      }
     },
     "localname": "ResidentialPortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictedStockMember": {
     "auth_ref": [
      "r99"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock including a provision that prohibits sale or substantive sale of an equity instrument for a specified period of time or until specified performance conditions are met.",
        "label": "Restricted Stock [Member]",
        "terseLabel": "Restricted Stock"
       }
      }
     },
     "localname": "RestrictedStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r13",
      "r241",
      "r355",
      "r423",
      "r439",
      "r441"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "periodEndLabel": "Retained Earnings (Accumulated Deficit), Ending Balance",
        "periodStartLabel": "Retained Earnings (Accumulated Deficit), Beginning Balance",
        "terseLabel": "Retained earnings",
        "totalLabel": "Retained Earnings (Accumulated Deficit), Total"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r0",
      "r79",
      "r80",
      "r81",
      "r83",
      "r89",
      "r91",
      "r170",
      "r294",
      "r295",
      "r296",
      "r306",
      "r307",
      "r321",
      "r436",
      "r438"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Retained Earnings"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SaleOfStockConsiderationReceivedPerTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration received by subsidiary or equity investee in exchange for shares of stock issued or sold. Includes amount of cash received, fair value of noncash assets received, and fair value of liabilities assumed by the investor.",
        "label": "Sale of Stock, Consideration Received Per Transaction",
        "terseLabel": "Sale of stock, gross proceeds"
       }
      }
     },
     "localname": "SaleOfStockConsiderationReceivedPerTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares issued or sold by the subsidiary or equity method investee per stock transaction.",
        "label": "Sale of Stock, Number of Shares Issued in Transaction",
        "terseLabel": "Sale of stock, number of common stock issued"
       }
      }
     },
     "localname": "SaleOfStockNumberOfSharesIssuedInTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SaleOfStockPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction.",
        "label": "Sale of Stock, Price Per Share",
        "terseLabel": "Sale of stock, price per share"
       }
      }
     },
     "localname": "SaleOfStockPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock": {
     "auth_ref": [
      "r23"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block]",
        "terseLabel": "Summary of Major Classifications of Loans"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Debt Securities, Available-for-Sale [Line Items]",
        "terseLabel": "Schedule Of Available For Sale Securities [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleSecuritiesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesTable": {
     "auth_ref": [
      "r156",
      "r161",
      "r162",
      "r163",
      "r164",
      "r165",
      "r408",
      "r409"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of available-for-sale securities which includes, but is not limited to, changes in the cost basis and fair value, fair value and gross unrealized gain (loss), fair values by type of security, contractual maturity and classification, amortized cost basis, contracts to acquire securities to be accounted for as available-for-sale, debt maturities, transfers to trading, change in net unrealized holding gain (loss) net of tax, continuous unrealized loss position fair value, aggregate losses qualitative disclosures, other than temporary impairment (OTTI) losses or other disclosures related to available for sale securities.",
        "label": "Schedule of Available-for-Sale Securities [Table]",
        "terseLabel": "Schedule Of Available For Sale Securities [Table]"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleSecuritiesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfCarryingValuesAndEstimatedFairValuesOfDebtInstrumentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to carrying amount and estimated fair value of short-term and long-term debt instruments or arrangements, including but not limited to, identification of terms, features, and collateral requirements.",
        "label": "Schedule of Carrying Values and Estimated Fair Values of Debt Instruments [Table Text Block]",
        "terseLabel": "Schedule of Carrying Amounts and Estimated Fair Values of Company's Financial Instruments"
       }
      }
     },
     "localname": "ScheduleOfCarryingValuesAndEstimatedFairValuesOfDebtInstrumentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementsAndDisclosuresTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r98"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Schedule of Calculations for Basic and Diluted Earnings Per Common Share"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable": {
     "auth_ref": [
      "r174",
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table]",
        "terseLabel": "Schedule Of Financing Receivable Allowance For Credit Losses [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableAllowanceForCreditLossesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock": {
     "auth_ref": [
      "r143",
      "r178"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financing receivable on nonaccrual status.",
        "label": "Financing Receivable, Nonaccrual [Table Text Block]",
        "terseLabel": "Summary of Recorded Investment in Past Due Loans, as Well as Nonaccrual Loans"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesPastDueTable": {
     "auth_ref": [
      "r175",
      "r185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table]",
        "terseLabel": "Schedule Of Financing Receivables Past Due [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivablesPastDueTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRecordedInvestmentInPastDueLoansAsWellAsNonaccrualLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfImpairedFinancingReceivableTable": {
     "auth_ref": [
      "r136"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of the recorded investment, unpaid principal balance, associated allowance, average recorded investment, accounting policies, and interest income recognized on the accrual and cash basis for impaired financing receivables by class of financing receivable.",
        "label": "Schedule of Impaired Financing Receivable [Table]",
        "terseLabel": "Schedule Of Impaired Financing Receivable [Table]"
       }
      }
     },
     "localname": "ScheduleOfImpairedFinancingReceivableTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfImpairedLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r256",
      "r257",
      "r259",
      "r260",
      "r261",
      "r263",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r278",
      "r279",
      "r281",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "label": "Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]",
        "terseLabel": "Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock": {
     "auth_ref": [
      "r262"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the number and weighted-average grant date fair value for restricted stock units that were outstanding at the beginning and end of the year, and the number of restricted stock units that were granted, vested, or forfeited during the year.",
        "label": "Share-Based Payment Arrangement, Restricted Stock Unit, Activity [Table Text Block]",
        "terseLabel": "Summary of Restricted Stock Activity"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "auth_ref": [
      "r262",
      "r277",
      "r280"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.",
        "label": "Share-Based Payment Arrangement, Option, Activity [Table Text Block]",
        "terseLabel": "Summary of Stock Option Activity"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAdditionalGeneralDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Additional General Disclosures [Abstract]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAdditionalGeneralDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r274"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "terseLabel": "Number of restricted stock grants",
        "verboseLabel": "Restricted Shares Outstanding, Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r274"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted Average Grant Date Fair Value, Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r271",
      "r272"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "periodEndLabel": "Restricted Shares Outstanding, Outstanding - Ending Balance",
        "periodStartLabel": "Restricted Shares Outstanding, Outstanding - Beginning Balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r271",
      "r272"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
        "periodEndLabel": "Weighted Average Grant Date Fair Value, Outstanding - Ending Balance",
        "periodStartLabel": "Weighted Average Grant Date Fair Value, Outstanding - Beginning Balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r275"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "terseLabel": "Restricted Shares Outstanding, Vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r275"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value as of grant date pertaining to an equity-based award plan other than a stock (or unit) option plan for which the grantee gained the right during the reporting period, by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash in accordance with the terms of the arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted Average Grant Date Fair Value, Vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]",
        "terseLabel": "Share Based Compensation Arrangement By Share Based Payment Award [Line Items]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized": {
     "auth_ref": [
      "r261"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares authorized for issuance under share-based payment arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Authorized",
        "terseLabel": "Number of shares approved under the plan"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "auth_ref": [
      "r265"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Number",
        "terseLabel": "Option Shares Outstanding, Exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "auth_ref": [
      "r265"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price, Exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod": {
     "auth_ref": [
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Forfeitures in Period",
        "terseLabel": "Option Shares Outstanding, Forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "auth_ref": [
      "r267"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross number of share options (or share units) granted during the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Gross",
        "terseLabel": "Option Shares Outstanding, Grants",
        "verboseLabel": "Number of stock option grants"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "auth_ref": [
      "r293"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Intrinsic Value",
        "terseLabel": "Aggregate Intrinsic Value (in thousands), Outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "auth_ref": [
      "r263",
      "r264"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options outstanding, including both vested and non-vested options.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Number",
        "periodEndLabel": "Option Shares Outstanding, Outstanding - Ending Balance",
        "periodStartLabel": "Option Shares Outstanding, Outstanding - Beginning Balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r263",
      "r264"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
        "periodEndLabel": "Weighted Average Exercise Price, Outstanding - Ending Balance",
        "periodStartLabel": "Weighted Average Exercise Price, Outstanding - Beginning Balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r259",
      "r260",
      "r261",
      "r263",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r278",
      "r279",
      "r281",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]",
        "terseLabel": "Award Type"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfRestrictedStockActivityParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r268"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price, Exercise of stock options"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price, Forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r267"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Grants in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price, Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "auth_ref": [
      "r293"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Intrinsic Value",
        "terseLabel": "Aggregate Intrinsic Value (in thousands), Exercisable"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r293"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted Average Remaining Life (Years), Exercisable"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "auth_ref": [
      "r281"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted Average Remaining Life (Years), Outstanding"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareholdersEquityAndShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r244",
      "r303"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity and share-based payment arrangement. Includes, but is not limited to, disclosure of policy and terms of share-based payment arrangement, deferred compensation arrangement, and employee stock purchase plan (ESPP).",
        "label": "Shareholders' Equity and Share-Based Payments [Text Block]",
        "terseLabel": "Stock-Based Compensation"
       }
      }
     },
     "localname": "ShareholdersEquityAndShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SpecialMentionMember": {
     "auth_ref": [
      "r138",
      "r180"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category of financing receivables considered to have potential weaknesses that deserve management's close attention. If left uncorrected, those potential weaknesses may result in a deterioration of the repayment prospects for the asset or of the creditor's position at some future date.",
        "label": "Special Mention [Member]",
        "terseLabel": "Special Mention"
       }
      }
     },
     "localname": "SpecialMentionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r0",
      "r22",
      "r37",
      "r38",
      "r39",
      "r79",
      "r80",
      "r81",
      "r83",
      "r89",
      "r91",
      "r103",
      "r170",
      "r240",
      "r241",
      "r294",
      "r295",
      "r296",
      "r306",
      "r307",
      "r321",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r347",
      "r352",
      "r436",
      "r437",
      "r438"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]",
        "terseLabel": "Additional Paid In Capital"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Comprehensive Income [Abstract]"
       }
      }
     },
     "localname": "StatementOfIncomeAndComprehensiveIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r79",
      "r80",
      "r81",
      "r103",
      "r368"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "auth_ref": [
      "r9",
      "r10",
      "r240",
      "r241",
      "r268"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share options (or share units) exercised during the current period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period",
        "terseLabel": "Option Shares Outstanding, Exercise of stock options"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationSummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r9",
      "r10",
      "r240",
      "r241"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.",
        "label": "Stock Issued During Period, Value, New Issues",
        "terseLabel": "Issuance of common stock (less stock offering expenses of $1,699)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross": {
     "auth_ref": [
      "r9",
      "r10",
      "r240",
      "r241"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate value of stock related to Restricted Stock Awards issued during the period.",
        "label": "Stock Issued During Period, Value, Restricted Stock Award, Gross",
        "terseLabel": "Issuance of restricted stock awards"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueRestrictedStockAwardGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockOptionPlanExpense": {
     "auth_ref": [
      "r67"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense for option under share-based payment arrangement.",
        "label": "Stock or Unit Option Plan Expense",
        "terseLabel": "ESOP expense"
       }
      }
     },
     "localname": "StockOptionPlanExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodValue": {
     "auth_ref": [
      "r9",
      "r10",
      "r240",
      "r241"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock.",
        "label": "Stock Repurchased During Period, Value",
        "negatedLabel": "Common stock repurchase",
        "terseLabel": "Stock repurchase"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r10",
      "r15",
      "r16",
      "r75",
      "r145",
      "r168",
      "r339",
      "r355"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "totalLabel": "Total stockholders' equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "terseLabel": "Stockholders' equity:"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubstandardMember": {
     "auth_ref": [
      "r138",
      "r180"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category of financing receivables that are inadequately protected by the current sound worth and paying capacity of the obligor or of the collateral pledged, if any. Loans so classified have a well-defined weakness or weaknesses that jeopardize the liquidation of the debt. They are characterized by the distinct possibility that the creditor will sustain some loss if the deficiencies are not corrected.",
        "label": "Substandard [Member]",
        "terseLabel": "Substandard"
       }
      }
     },
     "localname": "SubstandardMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfRiskCategoryOfLoansByClassOfLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental disclosures of cash flow information:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxableMunicipalBondsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long-term debt securities issued by state, city or local governments or the agencies operated by state, city or local governments that are taxable.",
        "label": "Taxable Municipal Bonds [Member]",
        "terseLabel": "Municipal Securities - Taxable"
       }
      }
     },
     "localname": "TaxableMunicipalBondsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TimeDeposits": {
     "auth_ref": [
      "r380",
      "r417"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of time deposit liabilities, including certificates of deposit.",
        "label": "Time Deposits",
        "terseLabel": "Certificates of deposit",
        "totalLabel": "Time Deposits, Total"
       }
      }
     },
     "localname": "TimeDeposits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit": {
     "auth_ref": [
      "r417"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of time deposit liabilities, including certificates of deposit, in denominations that meet or exceed the Federal Deposit Insurance Corporation (FDIC) insurance limit.",
        "label": "Time Deposits, at or Above FDIC Insurance Limit",
        "terseLabel": "Time certificates of deposit in denomination of greater than $250,000"
       }
      }
     },
     "localname": "TimeDepositsAtOrAboveFDICInsuranceLimit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureDepositsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TreasuryStockMember": {
     "auth_ref": [
      "r21",
      "r243"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares of an entity that have been repurchased by the entity. This stock has no voting rights and receives no dividends. Note that treasury stock may be recorded at its total cost or separately as par (or stated) value and additional paid in capital. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Treasury Stock [Member]",
        "terseLabel": "Treasury Stock"
       }
      }
     },
     "localname": "TreasuryStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockRetiredParValueMethodAmount": {
     "auth_ref": [
      "r10",
      "r240",
      "r242"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease of par value, additional paid in capital (APIC) and retained earnings of common and preferred stock retired from treasury when treasury stock is accounted for under the par value method.",
        "label": "Treasury Stock, Retired, Par Value Method, Amount",
        "terseLabel": "Treasury stock retired"
       }
      }
     },
     "localname": "TreasuryStockRetiredParValueMethodAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_USGovernmentAgenciesDebtSecuritiesMember": {
     "auth_ref": [
      "r77",
      "r246",
      "r407"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debentures, notes, and other debt securities issued by US government agencies, for example, but not limited to, Government National Mortgage Association (GNMA or Ginnie Mae). Excludes US treasury securities and debt issued by government-sponsored Enterprises (GSEs), for example, but is not limited to, Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac), Federal National Mortgage Association (FNMA or Fannie Mae), and the Federal Home Loan Bank (FHLB).",
        "label": "US Government Agencies Debt Securities [Member]",
        "terseLabel": "Government Agency Securities"
       }
      }
     },
     "localname": "USGovernmentAgenciesDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember": {
     "auth_ref": [
      "r246",
      "r407"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debentures, bonds and other debt securities issued by US government sponsored entities (GSEs), for example, but not limited to, Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac), Federal National Mortgage Association (FNMA or Fannie Mae), and the Federal Home Loan Bank (FHLB). Excludes debt issued by the Government National Mortgage Association (GNMA or Ginnie Mae).",
        "label": "US Government-sponsored Enterprises Debt Securities [Member]",
        "terseLabel": "U.S. Government Sponsored Enterprises"
       }
      }
     },
     "localname": "USGovernmentSponsoredEnterprisesDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USTreasurySecuritiesMember": {
     "auth_ref": [
      "r77",
      "r246",
      "r253",
      "r407"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This category includes information about debt securities issued by the United States Department of the Treasury and backed by the United States government. Such securities primarily consist of treasury bills (short-term maturities - one year or less), treasury notes (intermediate term maturities - two to ten years), and treasury bonds (long-term maturities - ten to thirty years).",
        "label": "US Treasury Securities [Member]",
        "terseLabel": "U.S. Treasury Securities",
        "verboseLabel": "U.S. Treasury Strip Bonds"
       }
      }
     },
     "localname": "USTreasurySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAdditionalInformationDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesAvailableForSaleByContractualMaturityDetails",
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduleOfInvestmentSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnallocatedFinancingReceivablesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivables that have not been allocated to a portfolio segment.",
        "label": "Unallocated Financing Receivables [Member]",
        "terseLabel": "Unallocated"
       }
      }
     },
     "localname": "UnallocatedFinancingReceivablesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureLoansAndAllowanceForLoanLossesSummaryOfAllowanceForLoanLossesAndRecordedInvestmentInLoansByPortfolioSegmentAndBasedOnImpairmentMethodDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnearnedESOPShares": {
     "auth_ref": [
      "r298",
      "r302"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of unearned shares for all classes of common stock and nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by an employee stock ownership plan (ESOP). Includes the sale of shares or the issuance treasury shares to an ESOP.",
        "label": "Unearned ESOP Shares",
        "negatedLabel": "Unearned ESOP shares"
       }
      }
     },
     "localname": "UnearnedESOPShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r105",
      "r106",
      "r107",
      "r108",
      "r109",
      "r110",
      "r111"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsScheduleOfCalculationsForBasicAndDilutedEarningsPerCommonShareDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The sum of dilutive potential common shares or units used in the calculation of the diluted per-share or per-unit computation.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted, Adjustment",
        "terseLabel": "Effect of dilutive common stock awards",
        "totalLabel": "Weighted Average Number Diluted Shares Outstanding Adjustment, Total"
       }
      }
     },
     "localname": "WeightedAverageNumberDilutedSharesOutstandingAdjustment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsScheduleOfCalculationsForBasicAndDilutedEarningsPerCommonShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r93",
      "r98"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsScheduleOfCalculationsForBasicAndDilutedEarningsPerCommonShareDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "totalLabel": "Diluted weighted average common shares outstanding"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsScheduleOfCalculationsForBasicAndDilutedEarningsPerCommonShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r92",
      "r98"
     ],
     "calculation": {
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsScheduleOfCalculationsForBasicAndDilutedEarningsPerCommonShareDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Weighted average common shares outstanding",
        "totalLabel": "Weighted Average Number of Shares Outstanding, Basic, Total"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.affinitybankshares.com/20220630/taxonomy/role/Role_DisclosureNatureOfOperationsScheduleOfCalculationsForBasicAndDilutedEarningsPerCommonShareDetails"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 7
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "275",
   "URI": "https://asc.fasb.org/topic&trid=2134479"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(4)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953550-111524"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5258-111524"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953659-111524"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953682-111524"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953682-111524"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.L.1)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=122038336&loc=d3e74567-122707"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/subtopic&trid=2196772"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(ii)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=121614798&loc=d3e15032-111544"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=124260329&loc=d3e26853-111562"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27340-111563"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)-(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "https://asc.fasb.org/topic&trid=2196928"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "30",
   "Topic": "325",
   "URI": "https://asc.fasb.org/extlink&oid=6384439&loc=d3e42048-111605"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921830-210448"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921842-210448"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "79",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "80",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82922355-210448"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(3)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29,30)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "https://asc.fasb.org/topic&trid=2208564"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "https://asc.fasb.org/topic&trid=2208762"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=SL116886442-113899"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4549-113899"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e640-108580"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e681-108580"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(l)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=109244457&loc=d3e16545-113920"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "40",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=6418591&loc=d3e17344-113926"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=109244661&loc=d3e17540-113929"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=109244661&loc=d3e17540-113929"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=109244661&loc=d3e17540-113929"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=109244661&loc=d3e17540-113929"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "https://asc.fasb.org/topic&trid=2228938"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "35",
   "Subparagraph": "(b)",
   "Topic": "720",
   "URI": "https://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5708775-113959"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "820",
   "URI": "https://asc.fasb.org/topic&trid=2155941"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594809&loc=d3e13220-108610"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13467-108611"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13476-108611"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "840",
   "URI": "https://asc.fasb.org/extlink&oid=123386454&loc=d3e45280-112737"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e557-108580"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=126941158&loc=d3e41242-110953"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "940",
   "URI": "https://asc.fasb.org/subtopic&trid=2176304"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126970686&loc=d3e59706-112781"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(6))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.10(4))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.12)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13(3)(a))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.2)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.7)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(26))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1-5)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.11)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.12)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14(b))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14(d))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(12))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124507222&loc=d3e1436-108581"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.4)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.6)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.7,8)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123398031&loc=d3e60009-112784"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123398031&loc=d3e60009-112784"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126980459&loc=d3e62557-112803"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126980459&loc=d3e62557-112803"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126980459&loc=d3e62586-112803"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1)(e))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868656-224227"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(a)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126980459&loc=SL120269850-112803"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126980459&loc=SL120269850-112803"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126980459&loc=SL120269850-112803"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126980459&loc=SL120269850-112803"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "https://asc.fasb.org/subtopic&trid=2209399"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "325",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599499&loc=d3e63345-112809"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "405",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=116652737&loc=d3e64164-112818"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.1(f,g))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(19))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(22))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124508989&loc=d3e19393-158473"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(k)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=124433917&loc=SL114874205-224268"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.2(a),(b),(c),(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(21))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(24))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "https://asc.fasb.org/subtopic&trid=2324412"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691"
  },
  "r463": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r464": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r465": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r466": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "308",
   "Subsection": "a"
  },
  "r467": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r468": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402"
  },
  "r469": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r470": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)"
  },
  "r471": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)"
  },
  "r472": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)"
  },
  "r473": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)"
  },
  "r474": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)"
  },
  "r475": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1403"
  },
  "r476": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1404"
  },
  "r477": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1404"
  },
  "r478": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(1)"
  },
  "r479": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(2)"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(4))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r480": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(3)"
  },
  "r481": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(4)"
  },
  "r482": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1405"
  },
  "r483": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Publisher": "SEC",
   "Section": "1406"
  },
  "r484": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(e)",
   "Publisher": "SEC",
   "Section": "1406"
  },
  "r485": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r486": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.6)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3151-108585"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3000-108585"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21C",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=SL94080552-108585"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3095-108585"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(ii)(A))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1505-109256"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  }
 },
 "version": "2.1"
}
