{
 "instance": {
  "cldb20210630_10q.htm": {
   "axisCustom": 0,
   "axisStandard": 25,
   "contextCount": 375,
   "dts": {
    "calculationLink": {
     "local": [
      "cldb-20210630_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "cldb-20210630_def.xml"
     ]
    },
    "inline": {
     "local": [
      "cldb20210630_10q.htm"
     ]
    },
    "labelLink": {
     "local": [
      "cldb-20210630_lab.xml"
     ],
     "remote": [
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-doc-2021-01-31.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "cldb-20210630_pre.xml"
     ]
    },
    "referenceLink": {
     "remote": [
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-ref-2021-01-31.xml"
     ]
    },
    "schema": {
     "local": [
      "cldb-20210630.xsd"
     ],
     "remote": [
      "https://xbrl.sec.gov/country/2021/country-2021.xsd",
      "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",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.sec.gov/naics/2021/naics-2021.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-roles-2021-01-31.xsd",
      "https://xbrl.sec.gov/dei/2021/dei-2021.xsd",
      "https://xbrl.sec.gov/stpr/2021/stpr-2021.xsd",
      "https://xbrl.sec.gov/sic/2021/sic-2021.xsd",
      "https://xbrl.sec.gov/exch/2021/exch-2021.xsd",
      "https://xbrl.sec.gov/currency/2021/currency-2021.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "https://xbrl.sec.gov/dei/2021/dei-2021_ref.xsd",
      "https://xbrl.sec.gov/dei/2021/dei-2021_doc.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-parts-codification-2021-01-31.xsd"
     ]
    }
   },
   "elementCount": 488,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2021-01-31": 25,
    "http://www.cortlandbank.com/20210630": 2,
    "http://xbrl.sec.gov/dei/2021": 6,
    "total": 33
   },
   "keyCustom": 44,
   "keyStandard": 323,
   "memberCustom": 38,
   "memberStandard": 38,
   "nsprefix": "cldb",
   "nsuri": "http://www.cortlandbank.com/20210630",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "000 - Document - Document And Entity Information",
     "role": "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information",
     "shortName": "Document And Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "009 - Disclosure - Note 2 - Authoritative Accounting Guidance",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-2-authoritative-accounting-guidance",
     "shortName": "Note 2 - Authoritative Accounting Guidance",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "010 - Disclosure - Note 3 - Investment Securities",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities",
     "shortName": "Note 3 - Investment Securities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivablesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "011 - Disclosure - Note 4 - Loans and Allowance for Loan Losses",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
     "shortName": "Note 4 - Loans and Allowance for Loan Losses",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivablesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LegalMattersAndContingenciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "012 - Disclosure - Note 5 - Legal Proceedings",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-5-legal-proceedings",
     "shortName": "Note 5 - Legal Proceedings",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LegalMattersAndContingenciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "013 - Disclosure - Note 6 - Earnings Per Share and Capital Transactions",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions",
     "shortName": "Note 6 - Earnings Per Share and Capital Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubordinatedBorrowingsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "014 - Disclosure - Note 7 - Subordinated Debt",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt",
     "shortName": "Note 7 - Subordinated Debt",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubordinatedBorrowingsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "015 - Disclosure - Note 8 - Commitments",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments",
     "shortName": "Note 8 - Commitments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "016 - Disclosure - Note 9 - Fair Value of Assets and Liabilities",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities",
     "shortName": "Note 9 - Fair Value of Assets and Liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "017 - Disclosure - Note 10 - Accumulated Other Comprehensive Income (Loss)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss",
     "shortName": "Note 10 - Accumulated Other Comprehensive Income (Loss)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "018 - Disclosure - Note 11 - Post-retirement Obligations",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations",
     "shortName": "Note 11 - Post-retirement Obligations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "001 - Statement - Consolidated Balance Sheets (Current Period Unaudited)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited",
     "shortName": "Consolidated Balance Sheets (Current Period Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TreasuryStockTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "019 - Disclosure - Note 12 - Stock Repurchase Program",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program",
     "shortName": "Note 12 - Stock Repurchase Program",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TreasuryStockTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "020 - Disclosure - Note 13 - Securities Sold Under Agreements to Repurchase",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase",
     "shortName": "Note 13 - Securities Sold Under Agreements to Repurchase",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "021 - Disclosure - Note 14 - Equity Compensation",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
     "shortName": "Note 14 - Equity Compensation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cldb:EffectOfCovid19PandemicTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "022 - Disclosure - Note 15 - Risks and Uncertainties",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-15-risks-and-uncertainties",
     "shortName": "Note 15 - Risks and Uncertainties",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cldb:EffectOfCovid19PandemicTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "023 - Disclosure - Note 16 - Business Combination",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination",
     "shortName": "Note 16 - Business Combination",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "024 - Disclosure - Significant Accounting Policies (Policies)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-significant-accounting-policies-policies",
     "shortName": "Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "025 - Disclosure - Note 3 - Investment Securities (Tables)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-tables",
     "shortName": "Note 3 - Investment Securities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FinancingReceivablesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "026 - Disclosure - Note 4 - Loans and Allowance for Loan Losses (Tables)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-tables",
     "shortName": "Note 4 - Loans and Allowance for Loan Losses (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FinancingReceivablesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:EarningsPerShareTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicByCommonClassTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "027 - Disclosure - Note 6 - Earnings Per Share and Capital Transactions (Tables)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-tables",
     "shortName": "Note 6 - Earnings Per Share and Capital Transactions (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:EarningsPerShareTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicByCommonClassTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "028 - Disclosure - Note 8 - Commitments (Tables)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-tables",
     "shortName": "Note 8 - Commitments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": null,
     "groupType": "statement",
     "isDefault": "false",
     "longName": "002 - Statement - Consolidated Balance Sheets (Current Period Unaudited) (Parentheticals)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
     "shortName": "Consolidated Balance Sheets (Current Period Unaudited) (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "029 - Disclosure - Note 9 - Fair Value of Assets and Liabilities (Tables)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-tables",
     "shortName": "Note 9 - Fair Value of Assets and Liabilities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "030 - Disclosure - Note 10 - Accumulated Other Comprehensive Income (Loss) (Tables)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-tables",
     "shortName": "Note 10 - Accumulated Other Comprehensive Income (Loss) (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfChangesInAccumulatedPostemploymentBenefitObligationsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "031 - Disclosure - Note 11 - Post-retirement Obligations (Tables)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-tables",
     "shortName": "Note 11 - Post-retirement Obligations (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfChangesInAccumulatedPostemploymentBenefitObligationsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRepurchaseAgreements",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "032 - Disclosure - Note 13 - Securities Sold Under Agreements to Repurchase (Tables)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-tables",
     "shortName": "Note 13 - Securities Sold Under Agreements to Repurchase (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRepurchaseAgreements",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "033 - Disclosure - Note 14 - Equity Compensation (Tables)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-tables",
     "shortName": "Note 14 - Equity Compensation (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:PledgedFinancialInstrumentsNotSeparatelyReportedSecuritiesPledged",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "034 - Disclosure - Note 3 - Investment Securities (Details Textual)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-details-textual",
     "shortName": "Note 3 - Investment Securities (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:PledgedFinancialInstrumentsNotSeparatelyReportedSecuritiesPledged",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "035 - Disclosure - Note 3 - Investment Securities - Summary of Investment Securities Available-for-sale and Regulatory Stock (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details",
     "shortName": "Note 3 - Investment Securities - Summary of Investment Securities Available-for-sale and Regulatory Stock (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:DebtSecuritiesAvailableForSaleTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "036 - Disclosure - Note 3 - Investment Securities - Amortized Cost and Fair Value of Debt Securities by Contractual Maturity (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details",
     "shortName": "Note 3 - Investment Securities - Amortized Cost and Fair Value of Debt Securities by Contractual Maturity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRealizedGainLossTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-04-01_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "037 - Disclosure - Note 3 - Investment Securities - Proceeds, Gains and Losses Realized (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-proceeds-gains-and-losses-realized-details",
     "shortName": "Note 3 - Investment Securities - Proceeds, Gains and Losses Realized (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRealizedGainLossTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-04-01_2021-06-30",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleRealizedGain",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "038 - Disclosure - Note 3 - Investment Securities - Summary of the Fair Value of Available-for-sale Securities with Unrealized Losses and an Aging of Those Unrealized Losses (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details",
     "shortName": "Note 3 - Investment Securities - Summary of the Fair Value of Available-for-sale Securities with Unrealized Losses and an Aging of Those Unrealized Losses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-04-01_2021-06-30",
      "decimals": "-4",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "003 - Statement - Consolidated Statements of Income (Unaudited)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited",
     "shortName": "Consolidated Statements of Income (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-04-01_2021-06-30",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestIncomeSecuritiesTaxable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-04-01_2021-06-30",
      "decimals": "-4",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "039 - Disclosure - Note 4 - Loans and Allowance for Loan Losses (Details Textual)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual",
     "shortName": "Note 4 - Loans and Allowance for Loan Losses (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:FinancingReceivablesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "lang": "en-US",
      "name": "cldb:NumberOfDaysLoansArePastDueToBeOnNonaccrualStatus",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableNetOfDeferredIncome",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "040 - Disclosure - Note 4 - Loans and Allowance for Loan Losses - Composition of Loan Portfolio (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
     "shortName": "Note 4 - Loans and Allowance for Loan Losses - Composition of Loan Portfolio (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "us-gaap:FinancingReceivablesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "0",
      "lang": null,
      "name": "cldb:LoansAndLeasesReceivableRatioToTotalLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "us-gaap:FinancingReceivablesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-03-31",
      "decimals": "-4",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLosses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "041 - Disclosure - Note 4 - Loans and Allowance for Loan Losses - Analysis of Changes in the Allowance for Loan Losses (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
     "shortName": "Note 4 - Loans and Allowance for Loan Losses - Analysis of Changes in the Allowance for Loan Losses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "us-gaap:FinancingReceivablesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-03-31",
      "decimals": "-4",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLosses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableNetOfDeferredIncome",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "042 - Disclosure - Note 4 - Loans and Allowance for Loan Losses - Summary of Credit Quality Indicators by Internally Assigned Grades (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details",
     "shortName": "Note 4 - Loans and Allowance for Loan Losses - Summary of Credit Quality Indicators by Internally Assigned Grades (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:FinancingReceivableCreditQualityIndicatorsTableTextBlock",
       "us-gaap:FinancingReceivablesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30_FinancingReceivablePortfolioSegmentAxis-CommercialPortfolioSegmentMember_InternalCreditAssessmentAxis-PassMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableNetOfDeferredIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableNetOfDeferredIncome",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "043 - Disclosure - Note 4 - Loans and Allowance for Loan Losses - Summary of Consumer Credit Exposure (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details",
     "shortName": "Note 4 - Loans and Allowance for Loan Losses - Summary of Consumer Credit Exposure (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "cldb:FinancingReceivablePerformanceStatusTableTextBlock",
       "us-gaap:FinancingReceivablesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30_FinancialInstrumentPerformanceStatusAxis-PerformingFinancingReceivableMember_FinancingReceivablePortfolioSegmentAxis-ResidentialPortfolioSegmentMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableNetOfDeferredIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "us-gaap:FinancingReceivablesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableRecordedInvestmentNonaccrualStatus",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "044 - Disclosure - Note 4 - Loans and Allowance for Loan Losses - Summary of Classes of Loans on Non-accrual Status (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
     "shortName": "Note 4 - Loans and Allowance for Loan Losses - Summary of Classes of Loans on Non-accrual Status (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "us-gaap:FinancingReceivablesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableRecordedInvestmentNonaccrualStatus",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableNetOfDeferredIncome",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "045 - Disclosure - Note 4 - Loans and Allowance for Loan Losses - Aging Analysis of the Recorded Investment of Past Due Loans (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
     "shortName": "Note 4 - Loans and Allowance for Loan Losses - Aging Analysis of the Recorded Investment of Past Due Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:PastDueFinancingReceivablesTableTextBlock",
       "us-gaap:FinancingReceivablesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ImpairedFinancingReceivablesTableTextBlock",
       "us-gaap:FinancingReceivablesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30_FinancingReceivablePortfolioSegmentAxis-CommercialPortfolioSegmentMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "046 - Disclosure - Note 4 - Loans and Allowance for Loan Losses - Impaired Loans (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details",
     "shortName": "Note 4 - Loans and Allowance for Loan Losses - Impaired Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:FinancingReceivablesTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2020-12-31_FinancingReceivablePortfolioSegmentAxis-CommercialPortfolioSegmentMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-04-01_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "047 - Disclosure - Note 6 - Earnings Per Share and Capital Transactions - Computation of Earnings Per Share (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details",
     "shortName": "Note 6 - Earnings Per Share and Capital Transactions - Computation of Earnings Per Share (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareBasicByCommonClassTextBlock",
       "us-gaap:EarningsPerShareTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-04-01_2021-06-30",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:WeightedAverageNumberOfSharesOutstandingBasic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Share",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:SubordinatedBorrowingsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2007-07-31_InvestmentTypeAxis-TrustCommonSecuritiesMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "cldb:InvestmentInSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "048 - Disclosure - Note 7 - Subordinated Debt (Details Textual)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual",
     "shortName": "Note 7 - Subordinated Debt (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:SubordinatedBorrowingsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2007-07-31_InvestmentTypeAxis-TrustCommonSecuritiesMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "cldb:InvestmentInSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-04-01_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "004 - Statement - Consolidated Statements of Comprehensive Income (Unaudited)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited",
     "shortName": "Consolidated Statements of Comprehensive Income (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-04-01_2021-06-30",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:SecurityOwnedAndPledgedAsCollateralFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "049 - Disclosure - Note 8 - Commitments (Details Textual)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-details-textual",
     "shortName": "Note 8 - Commitments (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:SecurityOwnedAndPledgedAsCollateralFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30_GuaranteeObligationsByNatureAxis-FixedRateCommitmentsToExtendCreditMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:GuaranteeObligationsCurrentCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "050 - Disclosure - Note 8 - Commitments - Summary of Contractual Commitments (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-contractual-commitments-details",
     "shortName": "Note 8 - Commitments - Summary of Contractual Commitments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30_GuaranteeObligationsByNatureAxis-FixedRateCommitmentsToExtendCreditMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:GuaranteeObligationsCurrentCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "cldb:SummaryOfOverdraftProtectionTableTextBlock",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "cldb:OverdraftProtectionAvailableOnDepositorsAccounts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "051 - Disclosure - Note 8 - Commitments - Summary of Overdraft Protection (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-overdraft-protection-details",
     "shortName": "Note 8 - Commitments - Summary of Overdraft Protection (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "cldb:SummaryOfOverdraftProtectionTableTextBlock",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "cldb:OverdraftProtectionAvailableOnDepositorsAccounts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfInterestRateDerivativesTableTextBlock",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30_DerivativeInstrumentRiskAxis-CustomerInterestRateSwapMaturingIn2025Member",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "052 - Disclosure - Note 8 - Commitments - Summary of Information Regarding Derivatives (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details",
     "shortName": "Note 8 - Commitments - Summary of Information Regarding Derivatives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfInterestRateDerivativesTableTextBlock",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30_DerivativeInstrumentRiskAxis-CustomerInterestRateSwapMaturingIn2025Member",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-4",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestRateDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "053 - Disclosure - Note 8 - Commitments - Fair Values of Derivative Instruments (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-fair-values-of-derivative-instruments-details",
     "shortName": "Note 8 - Commitments - Fair Values of Derivative Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30_BalanceSheetLocationAxis-OtherAssetsMember",
      "decimals": "-4",
      "lang": null,
      "name": "us-gaap:InterestRateDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "054 - Disclosure - Note 9 - Fair Value of Assets and Liabilities - Assets Reported on the Consolidated Balance Sheets, on a Recurring Basis, at Their Fair Value (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details",
     "shortName": "Note 9 - Fair Value of Assets and Liabilities - Assets Reported on the Consolidated Balance Sheets, on a Recurring Basis, at Their Fair Value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansHeldForSaleFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "cldb:ImpairedLoansFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "055 - Disclosure - Note 9 - Fair Value of Assets and Liabilities - Quantitative Information About the Level 3 Significant Inputs (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details",
     "shortName": "Note 9 - Fair Value of Assets and Liabilities - Quantitative Information About the Level 3 Significant Inputs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "cldb:ImpairedLoansFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30_FairValueByMeasurementBasisAxis-CarryingReportedAmountFairValueDisclosureMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "056 - Disclosure - Note 9 - Fair Value of Assets and Liabilities - Carrying Amounts and Fair Values of the Company's Financial Instruments (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details",
     "shortName": "Note 9 - Fair Value of Assets and Liabilities - Carrying Amounts and Fair Values of the Company's Financial Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30_FairValueByMeasurementBasisAxis-CarryingReportedAmountFairValueDisclosureMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2020-12-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "057 - Disclosure - Note 10 - Accumulated Other Comprehensive Income (Loss) - Changes in Accumulated Other Comprehensive Income (Loss) by Component (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details",
     "shortName": "Note 10 - Accumulated Other Comprehensive Income (Loss) - Changes in Accumulated Other Comprehensive Income (Loss) by Component (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-03-31_StatementEquityComponentsAxis-AccumulatedNetUnrealizedInvestmentGainLossMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-04-01_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeTaxExpenseBenefit",
      "reportCount": 1,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "058 - Disclosure - Note 10 - Accumulated Other Comprehensive Income (Loss) - Reclassifications Out of Accumulated Other Comprehensive Income (Loss) (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details",
     "shortName": "Note 10 - Accumulated Other Comprehensive Income (Loss) - Reclassifications Out of Accumulated Other Comprehensive Income (Loss) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock",
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-04-01_2021-06-30_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis-ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:IncomeTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2019-12-31_StatementEquityComponentsAxis-CommonStockMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "005 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Unaudited)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
     "shortName": "Consolidated Statements of Changes in Shareholders' Equity (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2019-12-31_StatementEquityComponentsAxis-CommonStockMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfChangesInAccumulatedPostemploymentBenefitObligationsTableTextBlock",
       "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-03-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanBenefitObligation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "059 - Disclosure - Note 11 - Post-retirement Obligations - Changes in Accumulated Liability (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-changes-in-accumulated-liability-details",
     "shortName": "Note 11 - Post-retirement Obligations - Changes in Accumulated Liability (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfChangesInAccumulatedPostemploymentBenefitObligationsTableTextBlock",
       "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-03-31",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedBenefitPlanBenefitObligation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:TreasuryStockTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2020-03-17_ShareRepurchaseProgramAxis-StockRepurchasePlanOnDecember172019Member",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Share",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "060 - Disclosure - Note 12 - Stock Repurchase Program (Details Textual)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual",
     "shortName": "Note 12 - Stock Repurchase Program (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:TreasuryStockTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2020-03-17_ShareRepurchaseProgramAxis-StockRepurchasePlanOnDecember172019Member",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Share",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRepurchaseAgreements",
       "us-gaap:RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CarryingValueOfSecuritiesSoldUnderRepurchaseAgreementsAndDepositsReceivedForSecuritiesLoaned",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "061 - Disclosure - Note 13 - Securities Sold Under Agreements to Repurchase - Repurchase Agreements (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-repurchase-agreements-details",
     "shortName": "Note 13 - Securities Sold Under Agreements to Repurchase - Repurchase Agreements (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRepurchaseAgreements",
       "us-gaap:RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CarryingValueOfSecuritiesSoldUnderRepurchaseAgreementsAndDepositsReceivedForSecuritiesLoaned",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30_PlanNameAxis-OmnibusEquityPlanMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
      "reportCount": 1,
      "unitRef": "Share",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "062 - Disclosure - Note 14 - Equity Compensation (Details Textual)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual",
     "shortName": "Note 14 - Equity Compensation (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2021-06-30_AwardTypeAxis-RestrictedStockMember_PlanNameAxis-OmnibusEquityPlanMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Share",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2020-12-31_PlanNameAxis-OmnibusEquityPlanMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Share",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "063 - Disclosure - Note 14 - Equity Compensation - Activity Under the Omnibus Equity Plan (Details)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details",
     "shortName": "Note 14 - Equity Compensation - Activity Under the Omnibus Equity Plan (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "i_2020-12-31_PlanNameAxis-OmnibusEquityPlanMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Share",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-06-22_2021-06-22_BusinessAcquisitionAxis-CortlandSavingsAndBankingCompanyMember_LegalEntityAxis-FarmersNationalBancCorpMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "cldb:BusinessCombinationConsiderationTransferredCashOptionPricePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "064 - Disclosure - Note 16 - Business Combination (Details Textual)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination-details-textual",
     "shortName": "Note 16 - Business Combination (Details Textual)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-06-22_2021-06-22_BusinessAcquisitionAxis-CortlandSavingsAndBankingCompanyMember_LegalEntityAxis-FarmersNationalBancCorpMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "cldb:BusinessCombinationConsiderationTransferredCashOptionPricePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-04-01_2021-06-30",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "reportCount": 1,
      "unitRef": "USDPerShare",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "006 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Unaudited) (Parentheticals)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
     "shortName": "Consolidated Statements of Changes in Shareholders' Equity (Unaudited) (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetCashProvidedByUsedInOperatingActivities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "007 - Statement - Consolidated Statements of Cash Flows (Unaudited)",
     "role": "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited",
     "shortName": "Consolidated Statements of Cash Flows (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetCashProvidedByUsedInOperatingActivities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "008 - Disclosure - Note 1 - Basis of Presentation and Reclassifications",
     "role": "http://www.cortlandbank.com/20210630/role/statement-note-1-basis-of-presentation-and-reclassifications",
     "shortName": "Note 1 - Basis of Presentation and Reclassifications",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "cldb20210630_10q.htm",
      "contextRef": "d_2021-01-01_2021-06-30",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 76,
   "tag": {
    "cldb_AccruedInterestPayableFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value portion of accrued interest payable.",
        "label": "cldb_AccruedInterestPayableFairValueDisclosure",
        "verboseLabel": "Accrued interest payable"
       }
      }
     },
     "localname": "AccruedInterestPayableFairValueDisclosure",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_AccruedInterestReceivableFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value portion of accrued interest receivable.",
        "label": "cldb_AccruedInterestReceivableFairValueDisclosure",
        "verboseLabel": "Accrued interest receivable"
       }
      }
     },
     "localname": "AccruedInterestReceivableFairValueDisclosure",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_AverageDailyBalanceOfOverdrafts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average daily balance of overdrafts on accounts.",
        "label": "Average daily balance of overdrafts"
       }
      }
     },
     "localname": "AverageDailyBalanceOfOverdrafts",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-overdraft-protection-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_AverageDailyOverdraftsPercentageOfAvailable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average daily overdrafts on accounts expressed as a percentage of total available.",
        "label": "Average daily balance of overdrafts as a percentage of available"
       }
      }
     },
     "localname": "AverageDailyOverdraftsPercentageOfAvailable",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-overdraft-protection-details"
     ],
     "xbrltype": "percentItemType"
    },
    "cldb_BusinessCombinationConsiderationTransferredCashOptionPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The per share amount of cash that the shareholders of acquiree will receive in a business combination when cash option is elected.",
        "label": "cldb_BusinessCombinationConsiderationTransferredCashOptionPricePerShare",
        "terseLabel": "Business Combination, Consideration Transferred, Cash Option, Price Per Share (in dollars per share)"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredCashOptionPricePerShare",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination-details-textual"
     ],
     "xbrltype": "perShareItemType"
    },
    "cldb_BusinessCombinationConsiderationTransferredShareConversionOptionExchangeRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The per share exchange ratio for shareholders of acquiree in a business combination when share conversion option is elected",
        "label": "cldb_BusinessCombinationConsiderationTransferredShareConversionOptionExchangeRatio",
        "terseLabel": "Business Combination, Consideration Transferred, Share Conversion Option, Exchange Ratio"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredShareConversionOptionExchangeRatio",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination-details-textual"
     ],
     "xbrltype": "pureItemType"
    },
    "cldb_BusinessCombinationShareConversionPercentageOfAcquireesOutstandingSharesMaximum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum percentage of acquiree's outstanding shares convertible to acquior's common shares.",
        "label": "cldb_BusinessCombinationShareConversionPercentageOfAcquireesOutstandingSharesMaximum",
        "terseLabel": "Business Combination, Share Conversion, Percentage of Acquiree's Outstanding Shares, Maximum"
       }
      }
     },
     "localname": "BusinessCombinationShareConversionPercentageOfAcquireesOutstandingSharesMaximum",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "cldb_ContributionsToPartnershipFunds": {
     "auth_ref": [],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash outflow for contributions to partnership funds.",
        "label": "cldb_ContributionsToPartnershipFunds",
        "negatedLabel": "Contributions to partnership funds"
       }
      }
     },
     "localname": "ContributionsToPartnershipFunds",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_CortlandSavingsAndBankingCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Cortland Savings and Banking Company.",
        "label": "Cortland Savings and Banking Company [Member]"
       }
      }
     },
     "localname": "CortlandSavingsAndBankingCompanyMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination",
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_CustomerAndFixedPaidThirdPartyInterestRateSwapsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related to customer and fixed paid third party interest rate swaps.",
        "label": "Customer and Fixed Paid Third Party Interest Rate Swaps [Member]"
       }
      }
     },
     "localname": "CustomerAndFixedPaidThirdPartyInterestRateSwapsMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_CustomerInterestRateSwapMaturingIn2025Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents customer interest rate swap maturing in 2025.",
        "label": "Customer Interest Rate Swap Maturing in 2025 [Member]"
       }
      }
     },
     "localname": "CustomerInterestRateSwapMaturingIn2025Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_CustomerInterestRateSwapMaturingIn2026Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents customer interest rate swap maturing in 2026.",
        "label": "Customer Interest Rate Swap Maturing in 2026 [Member]"
       }
      }
     },
     "localname": "CustomerInterestRateSwapMaturingIn2026Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_CustomerInterestRateSwapMaturingIn2027Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents customer interest rate swap maturing in 2027.",
        "label": "Customer Interest Rate Swap Maturing in 2027 [Member]"
       }
      }
     },
     "localname": "CustomerInterestRateSwapMaturingIn2027Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_CustomerInterestRateSwapMaturingIn2028Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents customer interest rate swap maturing in 2028.",
        "label": "Customer Interest Rate Swap Maturing in 2028 [Member]"
       }
      }
     },
     "localname": "CustomerInterestRateSwapMaturingIn2028Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_CustomerInterestRateSwapMaturingIn2029Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents customer interest rate swap maturing in 2029.",
        "label": "Customer Interest Rate Swap Maturing in 2029 [Member]"
       }
      }
     },
     "localname": "CustomerInterestRateSwapMaturingIn2029Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_CustomerInterestRateSwapMaturingIn2030Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents customer interest rate swap maturing in 2030.",
        "label": "Customer Interest Rate Swap Maturing in 2030 [Member]"
       }
      }
     },
     "localname": "CustomerInterestRateSwapMaturingIn2030Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_CustomerInterestRateSwapMaturingIn2032Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents customer interest rate swap maturing in 2032.",
        "label": "Customer Interest Rate Swap Maturing in 2032 [Member]"
       }
      }
     },
     "localname": "CustomerInterestRateSwapMaturingIn2032Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_CustomerInterestRateSwapMaturingIn2033Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents customer interest rate swap maturing in 2033.",
        "label": "Customer Interest Rate Swap Maturing in 2033 [Member]"
       }
      }
     },
     "localname": "CustomerInterestRateSwapMaturingIn2033Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_DebtSecuritiesAvailableforsaleAmortizedCostMaturityAllocatedAndSingleMaturityDateYearOneThroughFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis",
       "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 first 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": "Due after one year through five years, amortized cost"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableforsaleAmortizedCostMaturityAllocatedAndSingleMaturityDateYearOneThroughFive",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_DebtSecuritiesAvailableforsaleFairValueMaturityAllocatedAndSingleMaturityDateYearOneThroughFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate",
       "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 first 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": "Due after one year through five years, fair value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableforsaleFairValueMaturityAllocatedAndSingleMaturityDateYearOneThroughFive",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_DemandSavingsAndMoneyMarketDepositsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents demand, savings and money market deposits.",
        "label": "Demand, Savings and Money Market Deposits [Member]"
       }
      }
     },
     "localname": "DemandSavingsAndMoneyMarketDepositsMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_DirectorEquityPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the director equity plan.",
        "label": "Director Equity Plan [Member]"
       }
      }
     },
     "localname": "DirectorEquityPlanMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_EffectOfCovid19PandemicTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for effects of COVID-19 pandemic.",
        "label": "Effect of Covid-19 Pandemic [Text Block]"
       }
      }
     },
     "localname": "EffectOfCovid19PandemicTextBlock",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-15-risks-and-uncertainties"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cldb_FarmersNationalBancCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Farmers National Banc Corp.",
        "label": "Farmers National Banc Corp [Member]"
       }
      }
     },
     "localname": "FarmersNationalBancCorpMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination",
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_FederalDepositInsuranceCorporationPremiumExpenseCredit": {
     "auth_ref": [],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal deposit insurance corporation premium expense (credit).",
        "label": "FDIC insurance"
       }
      }
     },
     "localname": "FederalDepositInsuranceCorporationPremiumExpenseCredit",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_FederalHomeLoanBankBorrowingsLongtermFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of long-term borrowing from Federal Home Loan Bank (FHLBank).",
        "label": "cldb_FederalHomeLoanBankBorrowingsLongtermFairValueDisclosure",
        "verboseLabel": "Federal Home Loan Bank advances - long term"
       }
      }
     },
     "localname": "FederalHomeLoanBankBorrowingsLongtermFairValueDisclosure",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_FederalHomeLoanBankBorrowingsShorttermFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of short-term borrowing from Federal Home Loan Bank (FHLBank).",
        "label": "cldb_FederalHomeLoanBankBorrowingsShorttermFairValueDisclosure",
        "verboseLabel": "Federal Home Loan Bank advances - short term"
       }
      }
     },
     "localname": "FederalHomeLoanBankBorrowingsShorttermFairValueDisclosure",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_FinancingReceivableAllowanceForCreditLossRecoveryAfterWriteoff": {
     "auth_ref": [],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after writeoff, of recovery of financing receivable, charged against allowance for credit loss.",
        "label": "cldb_FinancingReceivableAllowanceForCreditLossRecoveryAfterWriteoff",
        "totalLabel": "Net loan recoveries (charge-offs)"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossRecoveryAfterWriteoff",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_FinancingReceivableDeferredPayments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred amounts on loans receivable related to loan modification programs offered to financial institution customers affected by COVID-19.",
        "label": "cldb_FinancingReceivableDeferredPayments",
        "terseLabel": "Financing Receivable, Deferred Payments"
       }
      }
     },
     "localname": "FinancingReceivableDeferredPayments",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_FinancingReceivableDeferredPaymentsPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the period of deferred amounts on loans receivable related to loan modification programs offered to financial institution customers affected by COVID-19.",
        "label": "cldb_FinancingReceivableDeferredPaymentsPeriod",
        "terseLabel": "Financing Receivable, Deferred Payments Period (Day)"
       }
      }
     },
     "localname": "FinancingReceivableDeferredPaymentsPeriod",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "durationItemType"
    },
    "cldb_FinancingReceivableLoansOriginatedAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents amount of financing receivable loans originated amount.",
        "label": "cldb_FinancingReceivableLoansOriginatedAmount",
        "terseLabel": "Financing Receivable Loans Originated Amount"
       }
      }
     },
     "localname": "FinancingReceivableLoansOriginatedAmount",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_FinancingReceivableNumberOfPaymentDeferrals": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of payment deferrals on loans receivable related to loan modification programs offered to financial institution customers affected by COVID-19.",
        "label": "cldb_FinancingReceivableNumberOfPaymentDeferrals",
        "terseLabel": "Financing Receivable, Number of Payment Deferrals"
       }
      }
     },
     "localname": "FinancingReceivableNumberOfPaymentDeferrals",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "integerItemType"
    },
    "cldb_FinancingReceivablePerformanceStatusTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of financing receivables by performance status.",
        "label": "Financing Receivable, Performance Status [Table Text Block]"
       }
      }
     },
     "localname": "FinancingReceivablePerformanceStatusTableTextBlock",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cldb_FinancingReceivablePriorModificationsAggregatingAmountReturnedToFullPaymentStatus": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregating amount of prior modifications financing receivable returned to full payment status.",
        "label": "cldb_FinancingReceivablePriorModificationsAggregatingAmountReturnedToFullPaymentStatus",
        "terseLabel": "Financing Receivable, Prior Modifications, Aggregating Amount, Returned to Full Payment Status"
       }
      }
     },
     "localname": "FinancingReceivablePriorModificationsAggregatingAmountReturnedToFullPaymentStatus",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_FinancingReceivablePriorModificationsNumberOfContractsReturnedToFullPayments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of prior modifications contracts returned to full payments for financing receivables.",
        "label": "cldb_FinancingReceivablePriorModificationsNumberOfContractsReturnedToFullPayments",
        "terseLabel": "Financing Receivable, Prior Modifications, Number of Contracts, Returned to Full Payments"
       }
      }
     },
     "localname": "FinancingReceivablePriorModificationsNumberOfContractsReturnedToFullPayments",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "integerItemType"
    },
    "cldb_FixedPaidRateCustomerInterestRateSwapMaturingIn2030Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related to derivative.",
        "label": "Fixed Paid Rate Customer Interest Rate Swap Maturing in 2030 [Member]"
       }
      }
     },
     "localname": "FixedPaidRateCustomerInterestRateSwapMaturingIn2030Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_FixedPaidRateThirdPartyInterestRateSwapMaturingIn2030Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related to derivative.",
        "label": "Fixed Paid Rate Third Party Interest Rate Swap Maturing in 2030 [Member]"
       }
      }
     },
     "localname": "FixedPaidRateThirdPartyInterestRateSwapMaturingIn2030Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_FixedRateCommitmentsToExtendCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents fixed rate commitments to extend credit.",
        "label": "Fixed Rate Commitments to Extend Credit [Member]"
       }
      }
     },
     "localname": "FixedRateCommitmentsToExtendCreditMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-contractual-commitments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_FixedRateReceivedCustomerInterestRateSwapMaturingIn2030Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related to derivative.",
        "label": "Fixed Rate Received Customer Interest Rate Swap Maturing in 2030 [Member]"
       }
      }
     },
     "localname": "FixedRateReceivedCustomerInterestRateSwapMaturingIn2030Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_FloatingRateTrustPreferredSecuritiesIssuedDuringPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of floating rate trust preferred securities issued during the period.",
        "label": "cldb_FloatingRateTrustPreferredSecuritiesIssuedDuringPeriod",
        "terseLabel": "Floating Rate Trust Preferred Securities, Issued During Period"
       }
      }
     },
     "localname": "FloatingRateTrustPreferredSecuritiesIssuedDuringPeriod",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_ImpairedLoansFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value portion of impaired loans.",
        "label": "cldb_ImpairedLoansFairValueDisclosure",
        "terseLabel": "Impaired loans"
       }
      }
     },
     "localname": "ImpairedLoansFairValueDisclosure",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_ImpairedLoansMeasurementInput": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure impaired loans.",
        "label": "Range of Inputs"
       }
      }
     },
     "localname": "ImpairedLoansMeasurementInput",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details"
     ],
     "xbrltype": "decimalItemType"
    },
    "cldb_IncreaseDecreaseInLeaseLiability": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of increase (decrease) in lease liability.",
        "label": "Increase in lease liability"
       }
      }
     },
     "localname": "IncreaseDecreaseInLeaseLiability",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_IncreaseDecreaseInRightOfUseAsset": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of increase (decrease) in right of use asset.",
        "label": "Increase in ROU asset"
       }
      }
     },
     "localname": "IncreaseDecreaseInRightOfUseAsset",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_IncreaseDecreaseInShareBasedCompensationRequisiteServicePeriodRecognitionValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in equity due to share based compensation requisite service period recognition.",
        "label": "cldb_IncreaseDecreaseInShareBasedCompensationRequisiteServicePeriodRecognitionValue",
        "terseLabel": "Equity compensation"
       }
      }
     },
     "localname": "IncreaseDecreaseInShareBasedCompensationRequisiteServicePeriodRecognitionValue",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_InvestmentInSecurities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in securities.",
        "label": "cldb_InvestmentInSecurities",
        "terseLabel": "Investment in Securities"
       }
      }
     },
     "localname": "InvestmentInSecurities",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_LoanForgivenessPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the period of loan forgiveness.",
        "label": "cldb_LoanForgivenessPeriod",
        "terseLabel": "Loan Forgiveness Period (Week)"
       }
      }
     },
     "localname": "LoanForgivenessPeriod",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "durationItemType"
    },
    "cldb_LoansAndLeasesReceivableRatioToTotalLoans": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The ratio of loans and leases receivable to total loans.",
        "label": "Total loans, percentage"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableRatioToTotalLoans",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details"
     ],
     "xbrltype": "percentItemType"
    },
    "cldb_MaximumNumberOfDaysPastDueOnContractualPaymentsForBorrowerNotExperiencingFinancialDifficulty": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicator that a lender can conclude that a borrower is not experiencing financial difficulty if short-term (e.g., six months) modifications are made in response to COVID-19, such as payment deferrals, fee waivers, extensions of repayment terms, or other delays in payment that are insignificant related to loans in which the borrower is less than 30 days past due on its contractual payments at the time a modification program is implemented.",
        "label": "cldb_MaximumNumberOfDaysPastDueOnContractualPaymentsForBorrowerNotExperiencingFinancialDifficulty",
        "terseLabel": "Maximum Number of Days Past Due on Contractual Payments for Borrower not Experiencing Financial Difficulty (Day)"
       }
      }
     },
     "localname": "MaximumNumberOfDaysPastDueOnContractualPaymentsForBorrowerNotExperiencingFinancialDifficulty",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "durationItemType"
    },
    "cldb_MeasurementInputAppraisalAdjustmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using adjustments of appraisal of collateral.",
        "label": "Measurement Input, Appraisal Adjustments [Member]"
       }
      }
     },
     "localname": "MeasurementInputAppraisalAdjustmentsMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_NoteToFinancialStatementDetailsTextual": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note To Financial Statement Details Textual"
       }
      }
     },
     "localname": "NoteToFinancialStatementDetailsTextual",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_NotesToFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes To Financial Statements [Abstract]"
       }
      }
     },
     "localname": "NotesToFinancialStatementsAbstract",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_NumberOfDaysLoansArePastDueToBeOnNonaccrualStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of days loans are past due to be on non-accrual status.",
        "label": "cldb_NumberOfDaysLoansArePastDueToBeOnNonaccrualStatus",
        "terseLabel": "Number of Days Loans are Past Due to be on Non-accrual Status (Day)"
       }
      }
     },
     "localname": "NumberOfDaysLoansArePastDueToBeOnNonaccrualStatus",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "durationItemType"
    },
    "cldb_NumberOfSecuritiesOwnedAndPledgedAsCollateral": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of securities that are owned and pledged as collateral.",
        "label": "cldb_NumberOfSecuritiesOwnedAndPledgedAsCollateral",
        "terseLabel": "Number of Securities Owned and Pledged as Collateral"
       }
      }
     },
     "localname": "NumberOfSecuritiesOwnedAndPledgedAsCollateral",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-details-textual"
     ],
     "xbrltype": "integerItemType"
    },
    "cldb_OmnibusEquityPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the omnibus equity plan.",
        "label": "Omnibus Equity Plan [Member]"
       }
      }
     },
     "localname": "OmnibusEquityPlanMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_OtherLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan classified as other.",
        "label": "Other Loan [Member]"
       }
      }
     },
     "localname": "OtherLoanMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_OverdraftProtectionAvailableOnDepositorsAccounts": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of overdraft protection available on depositors' accounts.",
        "label": "Overdraft protection available on depositors' accounts"
       }
      }
     },
     "localname": "OverdraftProtectionAvailableOnDepositorsAccounts",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-overdraft-protection-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_OverdraftsOnDepositorsAccounts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of overdrafts on depositors accounts.",
        "label": "Balance of overdrafts included in loans"
       }
      }
     },
     "localname": "OverdraftsOnDepositorsAccounts",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-overdraft-protection-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_PaymentsToAcquireRegulatoryStock": {
     "auth_ref": [],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow to acquire regulatory stock.",
        "label": "cldb_PaymentsToAcquireRegulatoryStock",
        "negatedLabel": "Purchases of regulatory stock"
       }
      }
     },
     "localname": "PaymentsToAcquireRegulatoryStock",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_ProceedsFromPaymentsForFhlbankBorrowingsShortterm": {
     "auth_ref": [],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from Federal Home Loan Bank (FHLBank) borrowing, classified as short-term.",
        "label": "Net change in Federal Home Loan Bank advances - short term"
       }
      }
     },
     "localname": "ProceedsFromPaymentsForFhlbankBorrowingsShortterm",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_ProvisionForLoanLeaseAndOtherBenefitsExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of (benefit) expense related loan transactions, lease transactions, credit loss from transactions other than loan and lease transactions, and other loss based on assessment of uncollectability from the counterparty to reduce the account to their net realizable value.",
        "label": "Provision charged to operations"
       }
      }
     },
     "localname": "ProvisionForLoanLeaseAndOtherBenefitsExpenses",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cldb_SBACARESActPaycheckProtectionProgramMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related to SBA CARES Act Paycheck Protection Program.",
        "label": "SBA CARES Act Paycheck Protection Program [Member]"
       }
      }
     },
     "localname": "SBACARESActPaycheckProtectionProgramMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_SecuritiesBasisSpreadOnVariableRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the securities.",
        "label": "cldb_SecuritiesBasisSpreadOnVariableRate",
        "terseLabel": "Securities, Basis Spread on Variable Rate"
       }
      }
     },
     "localname": "SecuritiesBasisSpreadOnVariableRate",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "cldb_SecuritiesInterestRateEffectivePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective interest rate for the securities.",
        "label": "cldb_SecuritiesInterestRateEffectivePercentage",
        "terseLabel": "Securities, Interest Rate, Effective Percentage"
       }
      }
     },
     "localname": "SecuritiesInterestRateEffectivePercentage",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "cldb_StockRepurchasePlanNumberOfAdditionalSharesAuthorizedToBeRepurchased": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of additional shares authorized to be repurchased under the stock repurchase plan.",
        "label": "cldb_StockRepurchasePlanNumberOfAdditionalSharesAuthorizedToBeRepurchased",
        "terseLabel": "Stock Repurchase Plan, Number of Additional Shares Authorized to be Repurchased (in shares)"
       }
      }
     },
     "localname": "StockRepurchasePlanNumberOfAdditionalSharesAuthorizedToBeRepurchased",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual"
     ],
     "xbrltype": "sharesItemType"
    },
    "cldb_StockRepurchasePlanOnDecember172019Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the stock repurchase plan created on December 17, 2019.",
        "label": "Stock Repurchase Plan on December 17, 2019 [Member]"
       }
      }
     },
     "localname": "StockRepurchasePlanOnDecember172019Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_StockRepurchasePlanOnJanuary192021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information related to the stock repurchase plan on January 19, 2021.",
        "label": "Stock Repurchase Plan on January 19, 2021 [Member]"
       }
      }
     },
     "localname": "StockRepurchasePlanOnJanuary192021Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_StockRepurchaseProgramSharesAuthorizedToBeRepurchasedPercentageOfStockOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares authorized to be repurchased expressed as a percentage of common stock outstanding under the stock repurchase plan.",
        "label": "cldb_StockRepurchaseProgramSharesAuthorizedToBeRepurchasedPercentageOfStockOutstanding",
        "terseLabel": "Stock Repurchase Program, Shares Authorized to be Repurchased, Percentage of Stock Outstanding"
       }
      }
     },
     "localname": "StockRepurchaseProgramSharesAuthorizedToBeRepurchasedPercentageOfStockOutstanding",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual"
     ],
     "xbrltype": "percentItemType"
    },
    "cldb_SummaryOfOverdraftProtectionTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure for summary of overdraft protection.",
        "label": "Summary of Overdraft Protection [Table Text Block]"
       }
      }
     },
     "localname": "SummaryOfOverdraftProtectionTableTextBlock",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cldb_ThirdPartyAndFixedPaidCustomerInterestRateSwapsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related to derivative.",
        "label": "Third Party and Fixed Paid Customer Interest Rate Swaps [Member]"
       }
      }
     },
     "localname": "ThirdPartyAndFixedPaidCustomerInterestRateSwapsMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_ThirdPartyInterestRateSwapMaturingIn2025Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents third party interest rate swap maturing in 2025.",
        "label": "Third Party Interest Rate Swap Maturing in 2025 [Member]"
       }
      }
     },
     "localname": "ThirdPartyInterestRateSwapMaturingIn2025Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_ThirdPartyInterestRateSwapMaturingIn2026Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents third party interest rate swap maturing in 2026.",
        "label": "Third Party Interest Rate Swap Maturing in 2026 [Member]"
       }
      }
     },
     "localname": "ThirdPartyInterestRateSwapMaturingIn2026Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_ThirdPartyInterestRateSwapMaturingIn2027Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents third party interest rate swap maturing in 2027.",
        "label": "Third Party Interest Rate Swap Maturing in 2027 [Member]"
       }
      }
     },
     "localname": "ThirdPartyInterestRateSwapMaturingIn2027Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_ThirdPartyInterestRateSwapMaturingIn2028Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents third party interest rate swap maturing in 2028.",
        "label": "Third Party Interest Rate Swap Maturing in 2028 [Member]"
       }
      }
     },
     "localname": "ThirdPartyInterestRateSwapMaturingIn2028Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_ThirdPartyInterestRateSwapMaturingIn2029Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents third party interest rate swap maturing in 2029.",
        "label": "Third Party Interest Rate Swap Maturing in 2029 [Member]"
       }
      }
     },
     "localname": "ThirdPartyInterestRateSwapMaturingIn2029Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_ThirdPartyInterestRateSwapMaturingIn2030Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents third party interest rate swap maturing in 2030.",
        "label": "Third Party Interest Rate Swap Maturing in 2030 [Member]"
       }
      }
     },
     "localname": "ThirdPartyInterestRateSwapMaturingIn2030Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_ThirdPartyInterestRateSwapMaturingIn2032Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents third party interest rate swap maturing in 2032.",
        "label": "Third Party Interest Rate Swap Maturing in 2032 [Member]"
       }
      }
     },
     "localname": "ThirdPartyInterestRateSwapMaturingIn2032Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_ThirdPartyInterestRateSwapMaturingIn2033Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents third party interest rate swap maturing in 2033.",
        "label": "Third Party Interest Rate Swap Maturing in 2033 [Member]"
       }
      }
     },
     "localname": "ThirdPartyInterestRateSwapMaturingIn2033Member",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_TimeDepositsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents time deposits.",
        "label": "Time Deposits [Member]"
       }
      }
     },
     "localname": "TimeDepositsMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_TrustCommonSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents common securities issued by the trust.",
        "label": "Trust Common Securities [Member]"
       }
      }
     },
     "localname": "TrustCommonSecuritiesMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_TrustFormedByCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents trust formed by company.",
        "label": "Trust Formed by Company [Member]"
       }
      }
     },
     "localname": "TrustFormedByCompanyMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_USGovernmentSmallBusinessAdministrationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debentures, notes, and other debt securities issued by US government Small Business Administration (SBA).",
        "label": "US Government Small Business Administration Securities [Member]"
       }
      }
     },
     "localname": "USGovernmentSmallBusinessAdministrationMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_ValuationTechniqueAppraisalOfCollateralMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation technique appraisal of collateral.",
        "label": "Valuation Technique, Appraisal of Collateral [Member]"
       }
      }
     },
     "localname": "ValuationTechniqueAppraisalOfCollateralMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_VariableRateCommitmentsToExtendCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents variable rate commitments to extend credit.",
        "label": "Variable Rate Commitments to Extend Credit [Member]"
       }
      }
     },
     "localname": "VariableRateCommitmentsToExtendCreditMember",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-contractual-commitments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "cldb_statement-statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 10 - Accumulated Other Comprehensive Income (Loss) - Changes in Accumulated Other Comprehensive Income (Loss) by Component (Details)"
       }
      }
     },
     "localname": "statement-statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 10 - Accumulated Other Comprehensive Income (Loss) - Reclassifications Out of Accumulated Other Comprehensive Income (Loss) (Details)"
       }
      }
     },
     "localname": "statement-statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-10-accumulated-other-comprehensive-income-loss-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 10 - Accumulated Other Comprehensive Income (Loss)"
       }
      }
     },
     "localname": "statement-statement-note-10-accumulated-other-comprehensive-income-loss-tables",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-11-postretirement-obligations-changes-in-accumulated-liability-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 11 - Post-retirement Obligations - Changes in Accumulated Liability (Details)"
       }
      }
     },
     "localname": "statement-statement-note-11-postretirement-obligations-changes-in-accumulated-liability-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-11-postretirement-obligations-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 11 - Post-retirement Obligations"
       }
      }
     },
     "localname": "statement-statement-note-11-postretirement-obligations-tables",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-13-securities-sold-under-agreements-to-repurchase-repurchase-agreements-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 13 - Securities Sold Under Agreements to Repurchase - Repurchase Agreements (Details)"
       }
      }
     },
     "localname": "statement-statement-note-13-securities-sold-under-agreements-to-repurchase-repurchase-agreements-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-13-securities-sold-under-agreements-to-repurchase-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 13 - Securities Sold Under Agreements to Repurchase"
       }
      }
     },
     "localname": "statement-statement-note-13-securities-sold-under-agreements-to-repurchase-tables",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 14 - Equity Compensation - Activity Under the Omnibus Equity Plan (Details)"
       }
      }
     },
     "localname": "statement-statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-14-equity-compensation-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 14 - Equity Compensation"
       }
      }
     },
     "localname": "statement-statement-note-14-equity-compensation-tables",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Investment Securities - Amortized Cost and Fair Value of Debt Securities by Contractual Maturity (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-3-investment-securities-proceeds-gains-and-losses-realized-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Investment Securities - Proceeds, Gains and Losses Realized (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-investment-securities-proceeds-gains-and-losses-realized-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Investment Securities - Summary of Investment Securities Available-for-sale and Regulatory Stock (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Investment Securities - Summary of the Fair Value of Available-for-sale Securities with Unrealized Losses and an Aging of Those Unrealized Losses (Details)"
       }
      }
     },
     "localname": "statement-statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-3-investment-securities-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Investment Securities"
       }
      }
     },
     "localname": "statement-statement-note-3-investment-securities-tables",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Loans and Allowance for Loan Losses - Aging Analysis of the Recorded Investment of Past Due Loans (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Loans and Allowance for Loan Losses - Analysis of Changes in the Allowance for Loan Losses (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Loans and Allowance for Loan Losses - Composition of Loan Portfolio (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Loans and Allowance for Loan Losses - Impaired Loans (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Loans and Allowance for Loan Losses - Summary of Classes of Loans on Non-accrual Status (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Loans and Allowance for Loan Losses - Summary of Consumer Credit Exposure (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Loans and Allowance for Loan Losses - Summary of Credit Quality Indicators by Internally Assigned Grades (Details)"
       }
      }
     },
     "localname": "statement-statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-4-loans-and-allowance-for-loan-losses-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Loans and Allowance for Loan Losses"
       }
      }
     },
     "localname": "statement-statement-note-4-loans-and-allowance-for-loan-losses-tables",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Earnings Per Share and Capital Transactions - Computation of Earnings Per Share (Details)"
       }
      }
     },
     "localname": "statement-statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-6-earnings-per-share-and-capital-transactions-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Earnings Per Share and Capital Transactions"
       }
      }
     },
     "localname": "statement-statement-note-6-earnings-per-share-and-capital-transactions-tables",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-8-commitments-fair-values-of-derivative-instruments-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 8 - Commitments - Fair Values of Derivative Instruments (Details)"
       }
      }
     },
     "localname": "statement-statement-note-8-commitments-fair-values-of-derivative-instruments-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-8-commitments-summary-of-contractual-commitments-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 8 - Commitments - Summary of Contractual Commitments (Details)"
       }
      }
     },
     "localname": "statement-statement-note-8-commitments-summary-of-contractual-commitments-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-8-commitments-summary-of-information-regarding-derivatives-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 8 - Commitments - Summary of Information Regarding Derivatives (Details)"
       }
      }
     },
     "localname": "statement-statement-note-8-commitments-summary-of-information-regarding-derivatives-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-8-commitments-summary-of-overdraft-protection-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 8 - Commitments - Summary of Overdraft Protection (Details)"
       }
      }
     },
     "localname": "statement-statement-note-8-commitments-summary-of-overdraft-protection-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-8-commitments-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 8 - Commitments"
       }
      }
     },
     "localname": "statement-statement-note-8-commitments-tables",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 9 - Fair Value of Assets and Liabilities - Assets Reported on the Consolidated Balance Sheets, on a Recurring Basis, at Their Fair Value (Details)"
       }
      }
     },
     "localname": "statement-statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 9 - Fair Value of Assets and Liabilities - Carrying Amounts and Fair Values of the Company's Financial Instruments (Details)"
       }
      }
     },
     "localname": "statement-statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 9 - Fair Value of Assets and Liabilities - Quantitative Information About the Level 3 Significant Inputs (Details)"
       }
      }
     },
     "localname": "statement-statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-note-9-fair-value-of-assets-and-liabilities-tables": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 9 - Fair Value of Assets and Liabilities"
       }
      }
     },
     "localname": "statement-statement-note-9-fair-value-of-assets-and-liabilities-tables",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "cldb_statement-statement-significant-accounting-policies-policies": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Significant Accounting Policies"
       }
      }
     },
     "localname": "statement-statement-significant-accounting-policies-policies",
     "nsuri": "http://www.cortlandbank.com/20210630",
     "xbrltype": "stringItemType"
    },
    "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"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "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"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "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"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "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"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentInformationLineItems": {
     "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": "Document Information [Line Items]"
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package.",
        "label": "Document Information [Table]"
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "xbrltype": "stringItemType"
    },
    "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"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r519"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "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"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "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"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r521"
     ],
     "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"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "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"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "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"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "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]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information",
      "http://www.cortlandbank.com/20210630/role/statement-note-1-basis-of-presentation-and-reclassifications",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-changes-in-accumulated-liability-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-repurchase-agreements-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-15-risks-and-uncertainties",
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination",
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-2-authoritative-accounting-guidance",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-proceeds-gains-and-losses-realized-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-5-legal-proceedings",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-fair-values-of-derivative-instruments-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-contractual-commitments-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-overdraft-protection-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-tables",
      "http://www.cortlandbank.com/20210630/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r521"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "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"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r521"
     ],
     "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"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "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"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r537"
     ],
     "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"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r521"
     ],
     "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"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r521"
     ],
     "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"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r521"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r521"
     ],
     "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"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information",
      "http://www.cortlandbank.com/20210630/role/statement-note-1-basis-of-presentation-and-reclassifications",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-changes-in-accumulated-liability-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-repurchase-agreements-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-15-risks-and-uncertainties",
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination",
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-2-authoritative-accounting-guidance",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-proceeds-gains-and-losses-realized-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-5-legal-proceedings",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-fair-values-of-derivative-instruments-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-contractual-commitments-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-overdraft-protection-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-tables",
      "http://www.cortlandbank.com/20210630/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r517"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r518"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-document-and-entity-information"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r248",
      "r253",
      "r287",
      "r289",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r413",
      "r484",
      "r485",
      "r515",
      "r516"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r248",
      "r253",
      "r287",
      "r289",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r413",
      "r484",
      "r485",
      "r515",
      "r516"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r248",
      "r253",
      "r267",
      "r287",
      "r289",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r413",
      "r484",
      "r485",
      "r515",
      "r516"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r248",
      "r253",
      "r267",
      "r287",
      "r289",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r413",
      "r484",
      "r485",
      "r515",
      "r516"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember": {
     "auth_ref": [
      "r30",
      "r36",
      "r45",
      "r46",
      "r47",
      "r328"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated other comprehensive income (loss) related to gain (loss) component of defined benefit plans attributable to the parent.",
        "label": "Accumulated Defined Benefit Plans Adjustment, Net Gain (Loss) Attributable to Parent [Member]"
       }
      }
     },
     "localname": "AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember": {
     "auth_ref": [
      "r27",
      "r28",
      "r29",
      "r36",
      "r45",
      "r46",
      "r47"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated 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), attributable to parent.",
        "label": "AOCI, Accumulated Gain (Loss), Debt Securities, Available-for-sale, Parent [Member]"
       }
      }
     },
     "localname": "AccumulatedNetUnrealizedInvestmentGainLossMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r14",
      "r33",
      "r35",
      "r36",
      "r472",
      "r490",
      "r493"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 2.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 (Note 10)"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r32",
      "r36",
      "r45",
      "r46",
      "r47",
      "r85",
      "r86",
      "r87",
      "r328",
      "r486",
      "r487",
      "r538"
     ],
     "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]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdditionalPaidInCapitalCommonStock": {
     "auth_ref": [
      "r12"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 0.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"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r85",
      "r86",
      "r87",
      "r308",
      "r309",
      "r310",
      "r347"
     ],
     "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]"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r292",
      "r305",
      "r313"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "us-gaap_AllocatedShareBasedCompensationExpense",
        "terseLabel": "Share-based Payment Arrangement, Expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r144",
      "r202"
     ],
     "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]"
       }
      }
     },
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r81",
      "r124",
      "r127",
      "r133",
      "r191",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r326",
      "r329",
      "r361",
      "r378",
      "r380",
      "r423",
      "r468"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "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": "us-gaap_Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ASSETS"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax": {
     "auth_ref": [
      "r171"
     ],
     "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": "Investment securities available-for-sale, gross unrealized gains"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax": {
     "auth_ref": [
      "r172"
     ],
     "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": "Investment securities available-for-sale, gross unrealized losses"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis": {
     "auth_ref": [
      "r169",
      "r214"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
       "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": "Investment securities available-for-sale, amortized cost",
        "totalLabel": "Total investment securities available-for-sale, amortized cost"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost": {
     "auth_ref": [
      "r175"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis",
       "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": "Due after five years through ten years, amortized cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue": {
     "auth_ref": [
      "r173",
      "r175",
      "r460"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate",
       "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": "Due after five years through ten years, fair value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost": {
     "auth_ref": [
      "r176"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
       "order": 3.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis",
       "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": "Due after ten years, amortized cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "auth_ref": [
      "r173",
      "r176",
      "r461"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
       "order": 3.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate",
       "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": "Due after ten years, fair value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate": {
     "auth_ref": [
      "r173",
      "r177",
      "r462"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
       "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.",
        "label": "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate",
        "totalLabel": "Total, fair value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis": {
     "auth_ref": [
      "r173",
      "r177",
      "r458"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
       "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.",
        "label": "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis",
        "totalLabel": "Total, amortized cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost": {
     "auth_ref": [
      "r174"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
       "order": 0.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis",
       "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": "Due in one year or less, amortized cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue": {
     "auth_ref": [
      "r173",
      "r174",
      "r459"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
       "order": 0.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate",
       "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": "Due in one year or less, fair value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost": {
     "auth_ref": [
      "r177"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
       "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), without single maturity date and not allocated over maturity grouping.",
        "label": "U.S. Government-sponsored mortgage-backed and related securities, amortized cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue": {
     "auth_ref": [
      "r177",
      "r462"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
       "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), without single maturity date and not allocated over maturity grouping.",
        "label": "U.S. Government-sponsored mortgage-backed and related securities, fair value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "auth_ref": [
      "r166",
      "r170",
      "r214",
      "r427"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "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": "Investment securities available-for-sale (Note 3)",
        "terseLabel": "Investment securities available-for-sale, fair value",
        "totalLabel": "Total investment securities available for sale, fair value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r294",
      "r307"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-fair-values-of-derivative-instruments-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r335",
      "r339"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-fair-values-of-derivative-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BankOwnedLifeInsurance": {
     "auth_ref": [
      "r422"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 7.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"
       }
      }
     },
     "localname": "BankOwnedLifeInsurance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BankOwnedLifeInsuranceIncome": {
     "auth_ref": [
      "r446"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Earnings on or other increases in the value of the cash surrender value of bank owned life insurance policies.",
        "label": "Earnings on bank-owned life insurance"
       }
      }
     },
     "localname": "BankOwnedLifeInsuranceIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r286",
      "r288"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition, Acquiree [Domain]"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination",
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r286",
      "r288",
      "r323",
      "r324"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination",
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationDisclosureTextBlock": {
     "auth_ref": [
      "r325"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for a business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities. The disclosure may include leverage buyout transactions (as applicable).",
        "label": "Business Combination Disclosure [Text Block]"
       }
      }
     },
     "localname": "BusinessCombinationDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessCombinationIntegrationRelatedCosts": {
     "auth_ref": [],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Costs incurred to effect a business combination which have been expensed during the period. Such costs could include business integration costs, systems integration and conversion costs, and severance and other employee-related costs.",
        "label": "Merger expenses"
       }
      }
     },
     "localname": "BusinessCombinationIntegrationRelatedCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "auth_ref": [
      "r359",
      "r360"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as reported on the statement of financial position (balance sheet).",
        "label": "Reported Value Measurement [Member]"
       }
      }
     },
     "localname": "CarryingReportedAmountFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CarryingValueOfSecuritiesSoldUnderRepurchaseAgreementsAndDepositsReceivedForSecuritiesLoaned": {
     "auth_ref": [
      "r84",
      "r430"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value of securities sold under agreements to repurchase and deposits received for securities loaned.",
        "label": "Total collateral carrying value"
       }
      }
     },
     "localname": "CarryingValueOfSecuritiesSoldUnderRepurchaseAgreementsAndDepositsReceivedForSecuritiesLoaned",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-repurchase-agreements-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r4",
      "r18",
      "r76"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 6.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": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
        "totalLabel": "Total cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "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": "us-gaap_CashAndCashEquivalentsFairValueDisclosure",
        "verboseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndDueFromBanks": {
     "auth_ref": [
      "r421"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "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"
       }
      }
     },
     "localname": "CashAndDueFromBanks",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations": {
     "auth_ref": [
      "r69",
      "r76",
      "r80"
     ],
     "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": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
        "periodEndLabel": "End of period",
        "periodStartLabel": "Beginning of period"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r69",
      "r365"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "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": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
        "totalLabel": "Net change in cash and cash equivalents"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "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": "us-gaap_CashSurrenderValueFairValueDisclosure",
        "verboseLabel": "Bank-owned life insurance"
       }
      }
     },
     "localname": "CashSurrenderValueFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CollateralizedMortgageObligationsMember": {
     "auth_ref": [
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The category includes multiclass, pay-through securitizations collateralized by mortgages secured by assets, such as automobiles and boats, which are generally structured so that the collections of principal and interest due from the underlying debtors are paid to the holders of the CMO.",
        "label": "Collateralized Mortgage Obligations [Member]"
       }
      }
     },
     "localname": "CollateralizedMortgageObligationsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details"
     ],
     "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]"
       }
      }
     },
     "localname": "CommercialPortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details"
     ],
     "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]"
       }
      }
     },
     "localname": "CommercialRealEstatePortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r224",
      "r225",
      "r226",
      "r227",
      "r514"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "auth_ref": [
      "r256"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate dividends declared during the period for each share of common stock outstanding.",
        "label": "Cash dividend declared, per share (in dollars per share)",
        "terseLabel": "CASH DIVIDENDS DECLARED PER SHARE (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockDividendsPerShareDeclared",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r85",
      "r86",
      "r347"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r11"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common stock, par value (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r11"
     ],
     "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 (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r11"
     ],
     "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 (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r11",
      "r255"
     ],
     "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 (in shares)",
        "terseLabel": "Common Stock, Shares, Outstanding, Ending Balance (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r11",
      "r380"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 3.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 - $5.00 stated value - authorized 20,000,000 shares; issued 4,728,267 shares in 2021 and 2020; outstanding shares, 4,256,187 in 2021 and 4,223,153 in 2020"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r41",
      "r43",
      "r44",
      "r54",
      "r439",
      "r478"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited": {
       "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": "us-gaap_ComprehensiveIncomeNetOfTax",
        "totalLabel": "Total comprehensive income"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNoteTextBlock": {
     "auth_ref": [
      "r53",
      "r60",
      "r438",
      "r477"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for comprehensive income, which includes, but is not limited to, 1) the amount of income tax expense or benefit allocated to each component of other comprehensive income, including reclassification adjustments, 2) the reclassification adjustments for each classification of other comprehensive income and 3) the ending accumulated balances for each component of comprehensive income.",
        "label": "Comprehensive Income (Loss) Note [Text Block]"
       }
      }
     },
     "localname": "ComprehensiveIncomeNoteTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss"
     ],
     "xbrltype": "textBlockItemType"
    },
    "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]"
       }
      }
     },
     "localname": "ConsumerPortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger": {
     "auth_ref": [
      "r184",
      "r219",
      "r222"
     ],
     "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), in continuous unrealized loss position for more than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "12 Months or More Fair Value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "auth_ref": [
      "r184",
      "r219"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security 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 allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "12 Months or More Unrealized Losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months": {
     "auth_ref": [
      "r184",
      "r219",
      "r222"
     ],
     "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), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Less than 12 Months Fair Value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "auth_ref": [
      "r184",
      "r219"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security 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 allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Less than 12 Months Unrealized Losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleGainLoss": {
     "auth_ref": [],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized and realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Investment securities available-for-sale gains (losses), net"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedGain": {
     "auth_ref": [
      "r185"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "us-gaap_DebtSecuritiesAvailableForSaleRealizedGain",
        "verboseLabel": "Gross realized gain"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleRealizedGain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-proceeds-gains-and-losses-realized-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss": {
     "auth_ref": [
      "r185"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss",
        "verboseLabel": "Gross realized losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleRealizedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-proceeds-gains-and-losses-realized-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock": {
     "auth_ref": [
      "r187"
     ],
     "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]"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedGainLoss": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount 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).",
        "label": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedGainLoss",
        "verboseLabel": "Unrealized gains (losses) on available-for-sale securities"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition": {
     "auth_ref": [
      "r180",
      "r215",
      "r222"
     ],
     "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), in unrealized loss position without allowance for credit loss.",
        "label": "Total Fair Value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss": {
     "auth_ref": [
      "r181",
      "r216"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Total Unrealized Losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions": {
     "auth_ref": [
      "r182",
      "r217"
     ],
     "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 unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
        "terseLabel": "Debt Securities, Available-for-sale, Unrealized Loss Position, Number of Positions"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-details-textual"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_DefinedBenefitPlanBenefitObligation": {
     "auth_ref": [
      "r266"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of actuarial present value of benefits attributed to service rendered by employee for defined benefit plan.",
        "label": "us-gaap_DefinedBenefitPlanBenefitObligation",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance"
       }
      }
     },
     "localname": "DefinedBenefitPlanBenefitObligation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-changes-in-accumulated-liability-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Deposits": {
     "auth_ref": [
      "r429"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 3.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": "us-gaap_Deposits",
        "totalLabel": "Total deposits"
       }
      }
     },
     "localname": "Deposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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": "us-gaap_DepositsFairValueDisclosure",
        "verboseLabel": "Demand, savings and money market deposits"
       }
      }
     },
     "localname": "DepositsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r26",
      "r336",
      "r337",
      "r341",
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeNotionalAmount": {
     "auth_ref": [
      "r333",
      "r334"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nominal or face amount used to calculate payment on derivative.",
        "label": "Notional Amount"
       }
      }
     },
     "localname": "DerivativeNotionalAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r314"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement [Text Block]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureTextBlockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DisclosureTextBlockAbstract",
        "terseLabel": "Notes to Financial Statements"
       }
      }
     },
     "localname": "DisclosureTextBlockAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-1-basis-of-presentation-and-reclassifications",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-15-risks-and-uncertainties",
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination",
      "http://www.cortlandbank.com/20210630/role/statement-note-2-authoritative-accounting-guidance",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-5-legal-proceedings",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DividendIncomeOperating": {
     "auth_ref": [
      "r449"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating dividend income on securities.",
        "label": "Dividends"
       }
      }
     },
     "localname": "DividendIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsCommonStockCash": {
     "auth_ref": [
      "r256"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash.",
        "label": "Cash dividend declared, $0.15 and $0.34 and $0.14 and $0.33 per share for three and six months ended June 30, 2021 and 2020"
       }
      }
     },
     "localname": "DividendsCommonStockCash",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r55",
      "r94",
      "r95",
      "r96",
      "r97",
      "r98",
      "r105",
      "r107",
      "r110",
      "r111",
      "r112",
      "r116",
      "r117",
      "r348",
      "r349",
      "r440",
      "r479"
     ],
     "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": "Basic earnings per share (in dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareBasicAndDiluted": {
     "auth_ref": [
      "r111"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income or loss for the period per each share in instances when basic and diluted earnings per share are the same amount and reported as a single line item on the face of the financial statements.  Basic earnings per share is the amount of net income or loss for the period per each share of common stock or unit outstanding during the reporting period.  Diluted earnings per share includes the amount of net income or 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 BASIC AND DILUTED (in dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareBasicAndDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r55",
      "r94",
      "r95",
      "r96",
      "r97",
      "r98",
      "r107",
      "r110",
      "r111",
      "r112",
      "r116",
      "r117",
      "r348",
      "r349",
      "r440",
      "r479"
     ],
     "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": "Diluted earnings per share (in dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r113",
      "r114",
      "r115",
      "r118"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "auth_ref": [
      "r306"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
        "label": "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
        "terseLabel": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount, Total"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r306"
     ],
     "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": "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
        "terseLabel": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition (Month)"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r0",
      "r45",
      "r46",
      "r47",
      "r85",
      "r86",
      "r87",
      "r91",
      "r99",
      "r101",
      "r119",
      "r192",
      "r255",
      "r256",
      "r308",
      "r309",
      "r310",
      "r316",
      "r317",
      "r347",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r372",
      "r486",
      "r487",
      "r488",
      "r538"
     ],
     "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]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r249",
      "r251",
      "r252",
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as an estimate of fair value.",
        "label": "Estimate of Fair Value Measurement [Member]"
       }
      }
     },
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "auth_ref": [
      "r352"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table Text Block]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "auth_ref": [
      "r350",
      "r359"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table Text Block]"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r249",
      "r251",
      "r252",
      "r268",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r282",
      "r351",
      "r384",
      "r385",
      "r386"
     ],
     "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]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "auth_ref": [
      "r354",
      "r355"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of liability.",
        "label": "Liability Class [Axis]"
       }
      }
     },
     "localname": "FairValueByLiabilityClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "auth_ref": [
      "r249",
      "r251",
      "r252",
      "r350",
      "r356"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement basis.",
        "label": "Measurement Basis [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementBasisAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r354"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r249",
      "r268",
      "r270",
      "r275",
      "r282",
      "r351",
      "r384"
     ],
     "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]"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r249",
      "r251",
      "r252",
      "r268",
      "r270",
      "r275",
      "r282",
      "r351",
      "r385"
     ],
     "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]"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r249",
      "r251",
      "r252",
      "r268",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r282",
      "r351",
      "r386"
     ],
     "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]"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations": {
     "auth_ref": [
      "r350",
      "r351"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of subordinated debt obligations including, but not limited to, subordinated loan, subordinated bond, subordinated debenture or junior debt.",
        "label": "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations",
        "verboseLabel": "Subordinated debt"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "auth_ref": [
      "r353"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents classes of liabilities measured and disclosed at fair value.",
        "label": "Fair Value by Liability Class [Domain]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r249",
      "r251",
      "r252",
      "r268",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r282",
      "r384",
      "r385",
      "r386"
     ],
     "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]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesCurrent": {
     "auth_ref": [
      "r8",
      "r235",
      "r236",
      "r424",
      "r469"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The current portion of Federal Home Loan Bank borrowings initially due beyond one year or beyond the normal operating cycle if longer.",
        "label": "Federal Home Loan Bank advances - short term"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankStock": {
     "auth_ref": [
      "r464"
     ],
     "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 (FHLB) stock"
       }
      }
     },
     "localname": "FederalHomeLoanBankStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankStockAndFederalReserveBankStock": {
     "auth_ref": [],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Federal Home Loan Bank (FHLB) and Federal Reserve Bank stock.",
        "label": "Regulatory stock (Note 3)",
        "terseLabel": "Total regulatory stock"
       }
      }
     },
     "localname": "FederalHomeLoanBankStockAndFederalReserveBankStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalReserveBankStock": {
     "auth_ref": [
      "r464"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal Reserve Bank stock represents an equity interest in the Federal Reserve Bank. It does not have a readily determinable fair value because its ownership is restricted and it lacks a market (liquidity).",
        "label": "Federal Reserve Bank (FRB) stock"
       }
      }
     },
     "localname": "FederalReserveBankStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialAssetNotPastDueMember": {
     "auth_ref": [
      "r203",
      "r213"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset not past due.",
        "label": "Financial Asset, Not Past Due [Member]"
       }
      }
     },
     "localname": "FinancialAssetNotPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialAssetPastDueMember": {
     "auth_ref": [
      "r159",
      "r203",
      "r213"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset past due.",
        "label": "Financial Asset, Past Due [Member]"
       }
      }
     },
     "localname": "FinancialAssetPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r178",
      "r179",
      "r188",
      "r189",
      "r190",
      "r196",
      "r202",
      "r203",
      "r206",
      "r207",
      "r218",
      "r220",
      "r221",
      "r222",
      "r250",
      "r254",
      "r345",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-repurchase-agreements-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentPerformanceStatusAxis": {
     "auth_ref": [
      "r207"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of performance or non-performance status of financial instruments.",
        "label": "Financial Instrument Performance Status [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentPerformanceStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentPerformanceStatusDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of performance or non-performance status of financial instruments, including but not limited to, financing receivables, loans, debt, and investments.",
        "label": "Financial Instrument Performance Status [Domain]"
       }
      }
     },
     "localname": "FinancialInstrumentPerformanceStatusDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialStandbyLetterOfCreditMember": {
     "auth_ref": [
      "r228",
      "r233"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An irrevocable undertaking (typically by a financial institution) to guarantee payment of a specified financial obligation if defined events occur or fail to occur.",
        "label": "Financial Standby Letter of Credit [Member]"
       }
      }
     },
     "localname": "FinancialStandbyLetterOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-contractual-commitments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLosses": {
     "auth_ref": [
      "r139",
      "r195",
      "r197",
      "r201",
      "r428",
      "r532",
      "r534",
      "r536"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on financing receivable. Excludes allowance for financing receivable covered under loss sharing agreement.",
        "label": "us-gaap_FinancingReceivableAllowanceForCreditLosses",
        "negatedLabel": "Less allowance for loan losses (Note 4)",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance at beginning of period"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLosses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment": {
     "auth_ref": [
      "r142"
     ],
     "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": "Collectively evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1": {
     "auth_ref": [
      "r142"
     ],
     "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": "Individually evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery": {
     "auth_ref": [
      "r141",
      "r200",
      "r212"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details": {
       "order": 0.0,
       "parentTag": "cldb_FinancingReceivableAllowanceForCreditLossRecoveryAfterWriteoff",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in allowance for credit loss on financing receivable from recovery.",
        "label": "Recoveries"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesRecovery",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs": {
     "auth_ref": [
      "r140",
      "r199",
      "r212"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details": {
       "order": 1.0,
       "parentTag": "cldb_FinancingReceivableAllowanceForCreditLossRecoveryAfterWriteoff",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of writeoff of financing receivable, charged against allowance for credit loss.",
        "label": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
        "negatedLabel": "Loan charge-offs"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesWriteOffs",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment": {
     "auth_ref": [
      "r143"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The balance of financing receivables that were collectively evaluated for impairment.",
        "label": "us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment",
        "terseLabel": "Collectively evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableCollectivelyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock": {
     "auth_ref": [
      "r152",
      "r207"
     ],
     "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]"
       }
      }
     },
     "localname": "FinancingReceivableCreditQualityIndicatorsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment": {
     "auth_ref": [
      "r143"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The balance of financing receivables that were individually evaluated for impairment.",
        "label": "us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment",
        "terseLabel": "Individually evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableIndividuallyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsNumberOfContracts2": {
     "auth_ref": [
      "r154"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of financing receivables that have been modified by troubled debt restructurings.",
        "label": "us-gaap_FinancingReceivableModificationsNumberOfContracts2",
        "terseLabel": "Financing Receivable, Modifications, Number of Contracts"
       }
      }
     },
     "localname": "FinancingReceivableModificationsNumberOfContracts2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentAxis": {
     "auth_ref": [
      "r196",
      "r202",
      "r208",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536"
     ],
     "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]"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentDomain": {
     "auth_ref": [
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536"
     ],
     "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]"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing": {
     "auth_ref": [
      "r157",
      "r205",
      "r213"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable 90 days or more past due and still accruing.",
        "label": "Recorded investment greater than 90 days and accruing"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "auth_ref": [
      "r153",
      "r158",
      "r159",
      "r203",
      "r206",
      "r207",
      "r209",
      "r210",
      "r212",
      "r213",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of financing receivable determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Class of Financing Receivable [Axis]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain": {
     "auth_ref": [
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivables determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Class of Financing Receivable [Domain]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus": {
     "auth_ref": [
      "r156",
      "r204",
      "r533",
      "r534"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable on nonaccrual status.",
        "label": "Total nonaccrual loans"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentNonaccrualStatus",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivables30To59DaysPastDueMember": {
     "auth_ref": [
      "r213"
     ],
     "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]"
       }
      }
     },
     "localname": "FinancingReceivables30To59DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivables60To89DaysPastDueMember": {
     "auth_ref": [
      "r213"
     ],
     "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]"
       }
      }
     },
     "localname": "FinancingReceivables60To89DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember": {
     "auth_ref": [
      "r213"
     ],
     "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]"
       }
      }
     },
     "localname": "FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "auth_ref": [
      "r159",
      "r203",
      "r213"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by period in which financial asset is past due or not past due.",
        "label": "Financial Asset, Aging [Axis]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueDomain": {
     "auth_ref": [
      "r159",
      "r203",
      "r213"
     ],
     "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]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesTextBlock": {
     "auth_ref": [
      "r161",
      "r165"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for financing receivable.",
        "label": "Financing Receivables [Text Block]"
       }
      }
     },
     "localname": "FinancingReceivablesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GainLossOnSalesOfLoansNet": {
     "auth_ref": [
      "r74",
      "r445",
      "r483"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net gain (loss) resulting from a sale of loans, including adjustments to record loans classified as held-for-sale at the lower-of-cost-or-market and fair value adjustments to loan held for investment purposes.",
        "label": "Mortgage banking gains, net"
       }
      }
     },
     "localname": "GainLossOnSalesOfLoansNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GuaranteeObligationsByNatureAxis": {
     "auth_ref": [
      "r232"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by nature of guarantee.",
        "label": "Guarantor Obligations, Nature [Axis]"
       }
      }
     },
     "localname": "GuaranteeObligationsByNatureAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-contractual-commitments-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_GuaranteeObligationsCurrentCarryingValue": {
     "auth_ref": [
      "r231"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The current carrying amount of the liability for the freestanding or embedded guarantor's obligations under the guarantee or each group of similar guarantees.",
        "label": "Commitments"
       }
      }
     },
     "localname": "GuaranteeObligationsCurrentCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-contractual-commitments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GuaranteeObligationsNatureDomain": {
     "auth_ref": [
      "r229"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents a description of the nature of the guarantee or each group of similar guarantees.",
        "label": "Guarantor Obligations, Nature [Domain]"
       }
      }
     },
     "localname": "GuaranteeObligationsNatureDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-contractual-commitments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HomeEquityLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan based on the equity of the borrower's residential property in which the borrower receives the loan amount upfront. Excludes home equity lines of credit.",
        "label": "Home Equity Loan [Member]"
       }
      }
     },
     "localname": "HomeEquityLoanMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment": {
     "auth_ref": [
      "r148",
      "r151"
     ],
     "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": "Average recorded investment"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableAverageRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod": {
     "auth_ref": [
      "r149"
     ],
     "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": "Interest income recognized"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableInterestIncomeAccrualMethod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableRecordedInvestment": {
     "auth_ref": [
      "r145"
     ],
     "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": "Recorded investment"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableRelatedAllowance": {
     "auth_ref": [
      "r146"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit losses related to recorded investment.",
        "label": "Related allowance"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableRelatedAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance": {
     "auth_ref": [
      "r147"
     ],
     "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": "Unpaid principal balance"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableUnpaidPrincipalBalance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment": {
     "auth_ref": [
      "r148",
      "r151"
     ],
     "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": "Average recorded investment, with no allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod": {
     "auth_ref": [
      "r149"
     ],
     "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": "Interest income recognized, with no allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment": {
     "auth_ref": [
      "r145"
     ],
     "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": "Recorded investment, with no allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance": {
     "auth_ref": [
      "r147"
     ],
     "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": "Unpaid principal balance, with no allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment": {
     "auth_ref": [
      "r148",
      "r151"
     ],
     "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": "Average recorded investment, with an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod": {
     "auth_ref": [
      "r149"
     ],
     "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": "Interest income recognized, with an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment": {
     "auth_ref": [
      "r145"
     ],
     "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": "Recorded investment, with an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance": {
     "auth_ref": [
      "r147"
     ],
     "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": "Unpaid principal balance, with an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r150"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of impaired financing receivables.",
        "label": "Impaired Financing Receivables [Table Text Block]"
       }
      }
     },
     "localname": "ImpairedFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ImpairmentOfInvestments": {
     "auth_ref": [
      "r168"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount by which the fair value of an investment is less than the amortized cost basis or carrying amount of that investment at the balance sheet date and the decline in fair value is deemed to be other than temporary, before considering whether or not such amount is recognized in earnings or other comprehensive income.",
        "label": "us-gaap_ImpairmentOfInvestments",
        "terseLabel": "Other than Temporary Impairment Losses, Investments, Total"
       }
      }
     },
     "localname": "ImpairmentOfInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r51",
      "r124",
      "r126",
      "r129",
      "r132",
      "r134",
      "r418",
      "r436",
      "r457",
      "r481"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 1.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": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
        "totalLabel": "INCOME BEFORE FEDERAL INCOME TAX EXPENSE"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r82",
      "r100",
      "r101",
      "r123",
      "r315",
      "r321",
      "r322",
      "r482"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 0.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": "Federal income tax expense",
        "verboseLabel": "Tax effect"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesPaid": {
     "auth_ref": [
      "r71",
      "r79"
     ],
     "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.",
        "label": "Income taxes"
       }
      }
     },
     "localname": "IncomeTaxesPaid",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeposits": {
     "auth_ref": [
      "r77",
      "r455"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 4.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": "Net (decrease) increase in deposit accounts"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInFinanceReceivables": {
     "auth_ref": [
      "r73"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in outstanding loans including accrued interest.",
        "label": "us-gaap_IncreaseDecreaseInFinanceReceivables",
        "terseLabel": "Increase (Decrease) in Finance Receivables"
       }
      }
     },
     "localname": "IncreaseDecreaseInFinanceReceivables",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InformationTechnologyAndDataProcessing": {
     "auth_ref": [
      "r59"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 8.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": "Data processing fees"
       }
      }
     },
     "localname": "InformationTechnologyAndDataProcessing",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "auth_ref": [
      "r442"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "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": "us-gaap_InterestAndDividendIncomeOperating",
        "totalLabel": "Total interest and dividend income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperatingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "INTEREST AND DIVIDEND INCOME"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperatingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and dividends on investment securities:"
       }
      }
     },
     "localname": "InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndFeeIncomeLoansAndLeases": {
     "auth_ref": [
      "r441"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 4.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 fees on loans",
        "terseLabel": "Interest and Fee Income, Loans and Leases, Total"
       }
      }
     },
     "localname": "InterestAndFeeIncomeLoansAndLeases",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositLiabilities": {
     "auth_ref": [
      "r429"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "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": "us-gaap_InterestBearingDepositLiabilities",
        "terseLabel": "Interest-bearing deposits"
       }
      }
     },
     "localname": "InterestBearingDepositLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositsInBanks": {
     "auth_ref": [
      "r420",
      "r432"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "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-earning deposits"
       }
      }
     },
     "localname": "InterestBearingDepositsInBanks",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r50",
      "r122",
      "r373",
      "r374",
      "r454"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "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": "us-gaap_InterestExpense",
        "totalLabel": "Total interest expense"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "INTEREST EXPENSE"
       }
      }
     },
     "localname": "InterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestExpenseDeposits": {
     "auth_ref": [
      "r451"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of interest expense on all deposits.",
        "label": "Deposits"
       }
      }
     },
     "localname": "InterestExpenseDeposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm": {
     "auth_ref": [],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest expense incurred during the reporting period on long-term borrowings associated with Federal Home Loan Bank and Federal Reserve Bank advances.",
        "label": "us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm",
        "terseLabel": "Federal Home Loan Bank advances - long term"
       }
      }
     },
     "localname": "InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesShortTerm": {
     "auth_ref": [],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest expense incurred during the reporting period on short-term borrowings associated with Federal Home Loan Bank and Federal Reserve Bank advances.",
        "label": "us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesShortTerm",
        "terseLabel": "Federal Home Loan Bank advances - short term"
       }
      }
     },
     "localname": "InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesShortTerm",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseSecuritiesSoldUnderAgreementsToRepurchase": {
     "auth_ref": [
      "r452",
      "r522",
      "r523"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross expenses on securities sold coupled with an agreement to repurchase the same from the same counterparty at a fixed or determinable price within a fixed or variable time period.",
        "label": "Securities sold under agreements to repurchase"
       }
      }
     },
     "localname": "InterestExpenseSecuritiesSoldUnderAgreementsToRepurchase",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseSubordinatedNotesAndDebentures": {
     "auth_ref": [
      "r453"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest expense incurred during the reporting period on subordinated notes and debentures. Includes amortization of expenses incurred in the issuance of subordinated notes and debentures.",
        "label": "us-gaap_InterestExpenseSubordinatedNotesAndDebentures",
        "terseLabel": "Subordinated debt"
       }
      }
     },
     "localname": "InterestExpenseSubordinatedNotesAndDebentures",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss": {
     "auth_ref": [
      "r444"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 1.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": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
        "totalLabel": "NET INTEREST INCOME AFTER PROVISION FOR LOAN LOSSES"
       }
      }
     },
     "localname": "InterestIncomeExpenseAfterProvisionForLoanLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r443"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "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": "us-gaap_InterestIncomeExpenseNet",
        "totalLabel": "Net interest income"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeSecuritiesTaxExempt": {
     "auth_ref": [
      "r449",
      "r522",
      "r523"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securities exempt from state, federal and other income tax.",
        "label": "Nontaxable interest"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesTaxExempt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeSecuritiesTaxable": {
     "auth_ref": [
      "r449",
      "r522",
      "r523"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securities subject to state, federal and other income tax.",
        "label": "Taxable interest"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesTaxable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r68",
      "r70",
      "r79"
     ],
     "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"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue": {
     "auth_ref": [
      "r338"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value as of the balance sheet date of all derivative assets not designated as hedging instruments.",
        "label": "Interest rate derivatives, assets",
        "verboseLabel": "Interest rate derivatives"
       }
      }
     },
     "localname": "InterestRateDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-fair-values-of-derivative-instruments-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAtFairValueNet": {
     "auth_ref": [
      "r332"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value as of the balance sheet date of all derivatives not designated as hedging instruments.",
        "label": "Fair Value"
       }
      }
     },
     "localname": "InterestRateDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAtFairValueNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue": {
     "auth_ref": [
      "r338"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value as of the balance sheet date of all derivative liabilities not designated as hedging instruments.",
        "label": "Interest rate derivatives, liabilities",
        "verboseLabel": "Interest rate derivatives"
       }
      }
     },
     "localname": "InterestRateDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-fair-values-of-derivative-instruments-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InternalCreditAssessmentAxis": {
     "auth_ref": [
      "r152",
      "r207",
      "r211",
      "r212",
      "r230",
      "r343"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by entity-defined rating.",
        "label": "Internal Credit Assessment [Axis]"
       }
      }
     },
     "localname": "InternalCreditAssessmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InternalCreditAssessmentDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity defined credit risk rating.",
        "label": "Internal Credit Assessment [Domain]"
       }
      }
     },
     "localname": "InternalCreditAssessmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value.",
        "label": "Investments [Domain]"
       }
      }
     },
     "localname": "InvestmentTypeCategorizationMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual"
     ],
     "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]"
       }
      }
     },
     "localname": "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r187",
      "r419",
      "r463",
      "r512",
      "r529"
     ],
     "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]"
       }
      }
     },
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LaborAndRelatedExpense": {
     "auth_ref": [
      "r57"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 2.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": "Salaries and employee benefits"
       }
      }
     },
     "localname": "LaborAndRelatedExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LegalMattersAndContingenciesTextBlock": {
     "auth_ref": [
      "r227"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for legal proceedings, legal contingencies, litigation, regulatory and environmental matters and other contingencies.",
        "label": "Legal Matters and Contingencies [Text Block]"
       }
      }
     },
     "localname": "LegalMattersAndContingenciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-5-legal-proceedings"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r20",
      "r81",
      "r128",
      "r191",
      "r237",
      "r238",
      "r239",
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r327",
      "r329",
      "r330",
      "r361",
      "r378",
      "r379"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 0.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": "us-gaap_Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LIABILITIES"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r17",
      "r81",
      "r191",
      "r361",
      "r380",
      "r426",
      "r474"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "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": "us-gaap_LiabilitiesAndStockholdersEquity",
        "totalLabel": "Total liabilities and shareholders\u2019 equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableDeferredIncome": {
     "auth_ref": [
      "r155",
      "r162",
      "r376",
      "r433"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred interest and fee income, unamortized costs incurred to originate loans and leases, unamortized loan commitments and loan syndication fees, and premiums over or discounts from face amounts of acquired loans. Excludes amounts for loans and leases covered under loss sharing agreements.",
        "label": "us-gaap_LoansAndLeasesReceivableDeferredIncome",
        "terseLabel": "Loans and Leases Receivable, Deferred Income, Total"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableDeferredIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount": {
     "auth_ref": [
      "r138"
     ],
     "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": "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount",
        "terseLabel": "Loans and Leases Receivable, Gross, Total"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableGrossCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome": {
     "auth_ref": [
      "r138",
      "r155"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allowance and after 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.",
        "label": "Total loans (Note 4)",
        "periodEndLabel": "Total ending loans balance"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNetOfDeferredIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetReportedAmount": {
     "auth_ref": [
      "r138",
      "r433"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 4.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": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
        "totalLabel": "Net loans"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNetReportedAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansHeldForSaleFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of loans held-for-sale including, but not limited to, mortgage loans and finance receivables.",
        "label": "us-gaap_LoansHeldForSaleFairValueDisclosure",
        "verboseLabel": "Loans held for sale"
       }
      }
     },
     "localname": "LoansHeldForSaleFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details"
     ],
     "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]"
       }
      }
     },
     "localname": "LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "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]"
       }
      }
     },
     "localname": "LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansReceivableFairValueDisclosure": {
     "auth_ref": [
      "r161"
     ],
     "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": "us-gaap_LoansReceivableFairValueDisclosure",
        "verboseLabel": "Net loans"
       }
      }
     },
     "localname": "LoansReceivableFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup": {
     "auth_ref": [
      "r138",
      "r513"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after valuation allowance, of financing receivable held for sale and not part of disposal group. Excludes loan covered under loss sharing agreement and loan classified as investment in debt security.",
        "label": "Loans held for sale"
       }
      }
     },
     "localname": "LoansReceivableHeldForSaleNetNotPartOfDisposalGroup",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LondonInterbankOfferedRateLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate at which a bank borrows funds from other banks in the London interbank market.",
        "label": "London Interbank Offered Rate (LIBOR) [Member]"
       }
      }
     },
     "localname": "LondonInterbankOfferedRateLIBORMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongtermFederalHomeLoanBankAdvancesNoncurrent": {
     "auth_ref": [
      "r9",
      "r235",
      "r425",
      "r470"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The noncurrent portion of Federal Home Loan Bank borrowings initially due beyond one year or beyond the normal operating cycle if longer.",
        "label": "Federal Home Loan Bank advances - long term"
       }
      }
     },
     "localname": "LongtermFederalHomeLoanBankAdvancesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MarketingAndAdvertisingExpense": {
     "auth_ref": [
      "r58"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total expense recognized in the period for promotion, public relations, and brand or product advertising.",
        "label": "Advertising and marketing"
       }
      }
     },
     "localname": "MarketingAndAdvertisingExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r352"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember": {
     "auth_ref": [
      "r268"
     ],
     "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]"
       }
      }
     },
     "localname": "MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-repurchase-agreements-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r69"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 1.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": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
        "totalLabel": "Net cash (deficit) flow from financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash (deficit) flow from financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r69"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 2.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": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
        "totalLabel": "Net cash flow (deficit) from investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flow (deficit) from investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r69",
      "r72",
      "r75"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "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 flow from operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r2",
      "r39",
      "r42",
      "r47",
      "r52",
      "r75",
      "r81",
      "r90",
      "r94",
      "r95",
      "r96",
      "r97",
      "r100",
      "r101",
      "r109",
      "r124",
      "r126",
      "r129",
      "r132",
      "r134",
      "r191",
      "r237",
      "r238",
      "r239",
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r349",
      "r361",
      "r437",
      "r476"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "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",
        "totalLabel": "NET INCOME",
        "verboseLabel": "Net Income (Loss) Attributable to Parent, Total"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "auth_ref": [
      "r1",
      "r88",
      "r89",
      "r92",
      "r93",
      "r102",
      "r103",
      "r104",
      "r163",
      "r164",
      "r193",
      "r194",
      "r262",
      "r263",
      "r264",
      "r265",
      "r311",
      "r318",
      "r319",
      "r320",
      "r346",
      "r362",
      "r363",
      "r364",
      "r377",
      "r415",
      "r416",
      "r417",
      "r489",
      "r490",
      "r491",
      "r492",
      "r493",
      "r539"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for change in accounting principle. Includes, but is not limited to, nature, reason, and method of adopting amendment to accounting standards or other change in accounting principle.",
        "label": "Accounting Standards Update and Change in Accounting Principle [Text Block]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-2-authoritative-accounting-guidance"
     ],
     "xbrltype": "textBlockItemType"
    },
    "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]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoninterestBearingDepositLiabilities": {
     "auth_ref": [
      "r429"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 0.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 deposits"
       }
      }
     },
     "localname": "NoninterestBearingDepositLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpense": {
     "auth_ref": [
      "r448"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "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": "us-gaap_NoninterestExpense",
        "totalLabel": "Total non-interest expenses"
       }
      }
     },
     "localname": "NoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NON-INTEREST EXPENSES"
       }
      }
     },
     "localname": "NoninterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncome": {
     "auth_ref": [
      "r446"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 0.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": "us-gaap_NoninterestIncome",
        "totalLabel": "Total non-interest income"
       }
      }
     },
     "localname": "NoninterestIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NON-INTEREST INCOME"
       }
      }
     },
     "localname": "NoninterestIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncomeOtherOperatingIncome": {
     "auth_ref": [
      "r49",
      "r435",
      "r480"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 4.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": "Other non-interest income"
       }
      }
     },
     "localname": "NoninterestIncomeOtherOperatingIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NonperformingFinancingReceivableMember": {
     "auth_ref": [
      "r152",
      "r207"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category status of financial instruments in which payments are past due in accordance with the terms of the contract. Financial instruments include, but are not limited to, financing receivables, loans, debt, and investments.",
        "label": "Nonperforming Financial Instruments [Member]"
       }
      }
     },
     "localname": "NonperformingFinancingReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OccupancyNet": {
     "auth_ref": [
      "r59",
      "r375",
      "r447"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 5.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 and equipment"
       }
      }
     },
     "localname": "OccupancyNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r3",
      "r331"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-1-basis-of-presentation-and-reclassifications"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherAssets": {
     "auth_ref": [
      "r7",
      "r422",
      "r467"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets classified as other.",
        "label": "Other assets"
       }
      }
     },
     "localname": "OtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsMember": {
     "auth_ref": [
      "r335",
      "r344"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other assets.",
        "label": "Other Assets [Member]"
       }
      }
     },
     "localname": "OtherAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-fair-values-of-derivative-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax": {
     "auth_ref": [
      "r27",
      "r28",
      "r33"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "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": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
        "totalLabel": "Total securities available-for-sale"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax": {
     "auth_ref": [
      "r36",
      "r45",
      "r46",
      "r48",
      "r366",
      "r368",
      "r372"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax, before reclassification adjustments of other comprehensive income (loss).",
        "label": "Other comprehensive income (loss) before reclassification"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r40",
      "r43",
      "r45",
      "r46",
      "r48",
      "r53",
      "r255",
      "r366",
      "r371",
      "r372",
      "r438",
      "r477"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of other comprehensive income (loss).",
        "label": "Other comprehensive (loss) income",
        "totalLabel": "Total other comprehensive income (loss)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other comprehensive income (loss):"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax": {
     "auth_ref": [
      "r31",
      "r33"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax and reclassification adjustment, of (increase) decrease in accumulated other comprehensive income for defined benefit plan.",
        "label": "Other comprehensive (income) loss recorded",
        "negatedLabel": "Change in post-retirement obligations"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-changes-in-accumulated-liability-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax": {
     "auth_ref": [
      "r33",
      "r37",
      "r38",
      "r186"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities.",
        "label": "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax",
        "negatedTerseLabel": "Reclassification adjustment for net (gains) losses in net income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax": {
     "auth_ref": [
      "r34",
      "r186"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities.",
        "label": "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax",
        "terseLabel": "Tax effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax": {
     "auth_ref": [
      "r27",
      "r33",
      "r186"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax and 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": "Unrealized holding gains (losses) on available-for-sale securities"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax": {
     "auth_ref": [
      "r28",
      "r34"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
       "weight": -1.0
      }
     },
     "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": "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
        "negatedLabel": "Tax effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherInterestAndDividendIncome": {
     "auth_ref": [
      "r450"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after discount, accretion and premium amortization, of interest income and dividend income classified as other.",
        "label": "Other interest income"
       }
      }
     },
     "localname": "OtherInterestAndDividendIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilities": {
     "auth_ref": [
      "r431"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other.",
        "label": "Other liabilities"
       }
      }
     },
     "localname": "OtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesMember": {
     "auth_ref": [
      "r335",
      "r344"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other liabilities.",
        "label": "Other Liabilities [Member]"
       }
      }
     },
     "localname": "OtherLiabilitiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-fair-values-of-derivative-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherNoninterestExpense": {
     "auth_ref": [
      "r448"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noninterest expense classified as other.",
        "label": "Other operating expenses"
       }
      }
     },
     "localname": "OtherNoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PassMember": {
     "auth_ref": [
      "r152",
      "r207"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category of financing receivables not considered to be special mention, substandard, doubtful, and loss receivables.",
        "label": "Pass [Member]"
       }
      }
     },
     "localname": "PassMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PastDueFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r158",
      "r159",
      "r203",
      "r213"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table Text Block]"
       }
      }
     },
     "localname": "PastDueFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PaymentsForProceedsFromLoansAndLeases": {
     "auth_ref": [
      "r456"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 1.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": "us-gaap_PaymentsForProceedsFromLoansAndLeases",
        "negatedLabel": "Net decrease (increase) in loans made to customers"
       }
      }
     },
     "localname": "PaymentsForProceedsFromLoansAndLeases",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "auth_ref": [
      "r66"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 3.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": "us-gaap_PaymentsForRepurchaseOfCommonStock",
        "negatedLabel": "Treasury shares purchased"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "auth_ref": [
      "r66"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity.",
        "label": "us-gaap_PaymentsOfDividendsCommonStock",
        "negatedLabel": "Dividends paid"
       }
      }
     },
     "localname": "PaymentsOfDividendsCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r61",
      "r63",
      "r167"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 4.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": "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt",
        "negatedLabel": "Purchases of available-for-sale securities"
       }
      }
     },
     "localname": "PaymentsToAcquireAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r64"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 3.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": "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment",
        "negatedLabel": "Purchases of premises and equipment"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PensionAndOtherPostretirementBenefitExpense": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost (reversal of cost) for pension and other postretirement benefits.",
        "label": "Expense recorded"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementBenefitExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-changes-in-accumulated-liability-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock": {
     "auth_ref": [
      "r267",
      "r269",
      "r275",
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r281",
      "r282",
      "r283",
      "r284",
      "r285",
      "r290"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for retirement benefits.",
        "label": "Retirement Benefits [Text Block]"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PerformingFinancingReceivableMember": {
     "auth_ref": [
      "r152",
      "r207"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category status of financial instruments in which payments are received or paid on a timely basis in accordance with the terms of the contract. Financial instruments include, but are not limited to, financing receivables, loans, debt instruments, and investments.",
        "label": "Performing Financial Instruments [Member]"
       }
      }
     },
     "localname": "PerformingFinancingReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r294",
      "r307"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PledgedFinancialInstrumentsNotSeparatelyReportedSecuritiesPledged": {
     "auth_ref": [
      "r395"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the date of the latest financial statement presented of securities which are owned but transferred to another party to serve as collateral to partially or fully secure a debt obligation, repurchase agreement or other current or potential obligation, and for which the transferee is not permitted to sell or re-pledge them to an unrelated party.",
        "label": "us-gaap_PledgedFinancialInstrumentsNotSeparatelyReportedSecuritiesPledged",
        "terseLabel": "Pledged Financial Instruments, Not Separately Reported, Securities, Total"
       }
      }
     },
     "localname": "PledgedFinancialInstrumentsNotSeparatelyReportedSecuritiesPledged",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PolicyTextBlockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_PolicyTextBlockAbstract",
        "terseLabel": "Accounting Policies"
       }
      }
     },
     "localname": "PolicyTextBlockAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r357"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured at fair value for financial reporting purposes.",
        "label": "Portion at Fair Value Measurement [Member] [Default]"
       }
      }
     },
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProceedsFromFederalHomeLoanBankBorrowings": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from Federal Home Loan Bank (FHLBank) borrowing, classified as financing activity.",
        "label": "Proceeds from Federal Home Loan Bank advances - long term"
       }
      }
     },
     "localname": "ProceedsFromFederalHomeLoanBankBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities": {
     "auth_ref": [
      "r61",
      "r62",
      "r167"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 6.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 call, maturity and principal payments on available-for-sale securities"
       }
      }
     },
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase": {
     "auth_ref": [
      "r77",
      "r78"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash flow from investments sold under the agreement to repurchase such investment.",
        "label": "Net change in securities sold under agreements to repurchase"
       }
      }
     },
     "localname": "ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r61",
      "r62",
      "r167"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from sale 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 sale of available-for-sale securities",
        "verboseLabel": "Proceeds on securities sold"
       }
      }
     },
     "localname": "ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-proceeds-gains-and-losses-realized-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfessionalFees": {
     "auth_ref": [
      "r495",
      "r496"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 3.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"
       }
      }
     },
     "localname": "ProfessionalFees",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r5",
      "r6",
      "r223",
      "r380",
      "r465",
      "r475"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "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": "Premises and equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProvisionForLoanLossesExpensed": {
     "auth_ref": [
      "r198",
      "r434"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "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": "PROVISION FOR LOAN LOSSES"
       }
      }
     },
     "localname": "ProvisionForLoanLossesExpensed",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent": {
     "auth_ref": [
      "r36",
      "r48"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of reclassification adjustments of other comprehensive income (loss) attributable to parent.",
        "label": "us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent",
        "negatedLabel": "Amount reclassified from accumulated other comprehensive income or loss"
       }
      }
     },
     "localname": "ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis": {
     "auth_ref": [
      "r47"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by item reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Axis]"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain": {
     "auth_ref": [
      "r47"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Item reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Domain]"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r47"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies item reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Member]"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information about items reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Table Text Block]"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings": {
     "auth_ref": [
      "r67"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "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": "us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings",
        "negatedLabel": "Repayments of Federal Home Loan Bank advances - long term"
       }
      }
     },
     "localname": "RepaymentsOfFederalHomeLoanBankBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock": {
     "auth_ref": [
      "r412"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for repurchase agreements (also known as repos), resale agreements (also known as reverse repurchase agreements or reverse repos), securities borrowed transactions, and securities loaned transactions.",
        "label": "Repurchase Agreements, Resale Agreements, Securities Borrowed, and Securities Loaned Disclosure [Text Block]"
       }
      }
     },
     "localname": "RepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase"
     ],
     "xbrltype": "textBlockItemType"
    },
    "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]"
       }
      }
     },
     "localname": "ResidentialPortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictedStockMember": {
     "auth_ref": [
      "r113"
     ],
     "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]"
       }
      }
     },
     "localname": "RestrictedStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r13",
      "r256",
      "r312",
      "r380",
      "r473",
      "r489",
      "r493"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 1.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"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r0",
      "r85",
      "r86",
      "r87",
      "r91",
      "r99",
      "r101",
      "r192",
      "r308",
      "r309",
      "r310",
      "r316",
      "r317",
      "r347",
      "r486",
      "r488"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax": {
     "auth_ref": [
      "r120",
      "r121",
      "r125",
      "r130",
      "r131",
      "r135",
      "r136",
      "r137",
      "r260",
      "r261",
      "r414"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise.",
        "label": "Fees for customer services"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerIncludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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]"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r36",
      "r371",
      "r372"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of accumulated other comprehensive income (loss).",
        "label": "Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfChangesInAccumulatedPostemploymentBenefitObligationsTableTextBlock": {
     "auth_ref": [
      "r266"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the change in the accumulated postemployment benefit obligation from the beginning to the end of the period, showing separately, if applicable, the effects of the following: service cost, interest cost, contributions by plan participants, actuarial gains and losses, foreign currency exchange rate changes, benefits paid, plan amendments, business combinations, divestitures, curtailments, settlements, and special and contractual termination benefits.",
        "label": "Schedule of Changes in Accumulated Postemployment Benefit Obligations [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfChangesInAccumulatedPostemploymentBenefitObligationsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock": {
     "auth_ref": [
      "r340"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position.",
        "label": "Schedule of Derivative Instruments in Statement of Financial Position, Fair Value [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTextBlock": {
     "auth_ref": [
      "r108",
      "r112",
      "r117"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the effect of income (loss) on basic earnings per share.",
        "label": "Schedule of Earnings Per Share, Basic, by Common Class, Including Two Class Method [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicByCommonClassTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r350",
      "r351"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock": {
     "auth_ref": [
      "r158",
      "r206"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financing receivable on nonaccrual status.",
        "label": "Financing Receivable, Nonaccrual [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfInterestRateDerivativesTableTextBlock": {
     "auth_ref": [
      "r341"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of interest rate derivatives, including, but not limited to, the fair value of the derivatives, statement of financial position location, and statement of financial performance location of these instruments.",
        "label": "Schedule of Interest Rate Derivatives [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfInterestRateDerivativesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock": {
     "auth_ref": [
      "r19"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of 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": "Schedule of Line of Credit Facilities [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfLineOfCreditFacilitiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock": {
     "auth_ref": [
      "r299"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the changes in outstanding nonvested restricted stock units.",
        "label": "Schedule of Nonvested Restricted Stock Units Activity [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRealizedGainLossTableTextBlock": {
     "auth_ref": [
      "r185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the proceeds from sales of available-for-sale securities and the gross realized gains and gross realized losses that have been included in earnings as a result of those sales.",
        "label": "Schedule of Realized Gain (Loss) [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfRealizedGainLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRepurchaseAgreements": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for repurchase agreements.",
        "label": "Schedule of Repurchase Agreements [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfRepurchaseAgreements",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock": {
     "auth_ref": [
      "r183"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For all investments in an unrealized loss position, including those for which other-than-temporary impairments have not been recognized in earnings (including investments for which a portion of an other-than-temporary impairment has been recognized in other comprehensive income), a tabular disclosure of the aggregate related fair value of investments with unrealized losses and the aggregate amount of unrealized losses (that is, the amount by which amortized cost basis exceeds fair value).",
        "label": "Schedule of Unrealized Loss on Investments [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-tables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure": {
     "auth_ref": [
      "r358"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of securities that an entity sells and agrees to repurchase at a specified date for a specified price.",
        "label": "us-gaap_SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure",
        "verboseLabel": "Securities sold under agreements to repurchase"
       }
      }
     },
     "localname": "SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchase": {
     "auth_ref": [
      "r24",
      "r25",
      "r83",
      "r84",
      "r430"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after the effects of master netting arrangements, of funds outstanding borrowed in the form of a security repurchase agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Securities sold under agreements to repurchase (Note 13)"
       }
      }
     },
     "localname": "SecuritiesSoldUnderAgreementsToRepurchase",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-repurchase-agreements-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecurityOwnedAndPledgedAsCollateralFairValue": {
     "auth_ref": [
      "r394",
      "r395"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument held by the entity for its own account (proprietary securities) for trading or investment purposes that are carried at fair value and pledged to counterparties as collateral for financing transactions.",
        "label": "us-gaap_SecurityOwnedAndPledgedAsCollateralFairValue",
        "terseLabel": "Security Owned and Pledged as Collateral, Fair Value, Total"
       }
      }
     },
     "localname": "SecurityOwnedAndPledgedAsCollateralFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r295"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition.",
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period (Year)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "auth_ref": [
      "r298"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period.",
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
        "negatedLabel": "Forfeited, shares (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r303"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event.",
        "label": "Forfeited, weighted average grant date fair value (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r301"
     ],
     "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": "Granted, shares (in shares)",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r301"
     ],
     "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": "Granted, weighted average grant date fair value (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r300"
     ],
     "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": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
        "periodEndLabel": "Nonvested, shares (in shares)",
        "periodStartLabel": "Nonvested, shares (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r300"
     ],
     "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": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
        "periodEndLabel": "Nonvested, weighted average grant date fair value (in dollars per share)",
        "periodStartLabel": "Nonvested, weighted average grant date fair value (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r302"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
        "negatedLabel": "Vested, shares (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r302"
     ],
     "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": "Vested, weighted average grant date fair value (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized": {
     "auth_ref": [
      "r296"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares authorized for issuance under share-based payment arrangement.",
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r291",
      "r297"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareRepurchaseProgramAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by share repurchase program.",
        "label": "Share Repurchase Program [Axis]"
       }
      }
     },
     "localname": "ShareRepurchaseProgramAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareRepurchaseProgramDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the share repurchase program.",
        "label": "Share Repurchase Program [Domain]"
       }
      }
     },
     "localname": "ShareRepurchaseProgramDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SpecialMentionMember": {
     "auth_ref": [
      "r152",
      "r207"
     ],
     "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]"
       }
      }
     },
     "localname": "SpecialMentionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r0",
      "r22",
      "r45",
      "r46",
      "r47",
      "r85",
      "r86",
      "r87",
      "r91",
      "r99",
      "r101",
      "r119",
      "r192",
      "r255",
      "r256",
      "r308",
      "r309",
      "r310",
      "r316",
      "r317",
      "r347",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r372",
      "r486",
      "r487",
      "r488",
      "r538"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details"
     ],
     "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]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-note-1-basis-of-presentation-and-reclassifications",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-changes-in-accumulated-liability-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-repurchase-agreements-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-15-risks-and-uncertainties",
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination",
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-2-authoritative-accounting-guidance",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-proceeds-gains-and-losses-realized-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-5-legal-proceedings",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-fair-values-of-derivative-instruments-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-contractual-commitments-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-overdraft-protection-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-tables",
      "http://www.cortlandbank.com/20210630/role/statement-significant-accounting-policies-policies"
     ],
     "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/2021-01-31",
     "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/2021-01-31",
     "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/2021-01-31",
     "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/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r85",
      "r86",
      "r87",
      "r119",
      "r414"
     ],
     "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]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-comprehensive-income-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-note-1-basis-of-presentation-and-reclassifications",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-reclassifications-out-of-accumulated-other-comprehensive-income-loss-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-changes-in-accumulated-liability-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-repurchase-agreements-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-activity-under-the-omnibus-equity-plan-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-15-risks-and-uncertainties",
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination",
      "http://www.cortlandbank.com/20210630/role/statement-note-16-business-combination-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-2-authoritative-accounting-guidance",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-amortized-cost-and-fair-value-of-debt-securities-by-contractual-maturity-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-proceeds-gains-and-losses-realized-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-aging-analysis-of-the-recorded-investment-of-past-due-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-analysis-of-changes-in-the-allowance-for-loan-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-composition-of-loan-portfolio-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-impaired-loans-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-classes-of-loans-on-nonaccrual-status-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-consumer-credit-exposure-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-5-legal-proceedings",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-details-textual",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-fair-values-of-derivative-instruments-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-contractual-commitments-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-information-regarding-derivatives-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-summary-of-overdraft-protection-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-carrying-amounts-and-fair-values-of-the-companys-financial-instruments-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-tables",
      "http://www.cortlandbank.com/20210630/role/statement-significant-accounting-policies-policies"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation": {
     "auth_ref": [
      "r10",
      "r11",
      "r256",
      "r293",
      "r304"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value, after forfeiture, of shares issued under share-based payment arrangement. Excludes employee stock ownership plan (ESOP).",
        "label": "us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation",
        "terseLabel": "Equity compensation"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares authorized to be repurchased by an entity's Board of Directors under a stock repurchase plan.",
        "label": "us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
        "terseLabel": "Stock Repurchase Program, Number of Shares Authorized to be Repurchased (in shares)"
       }
      }
     },
     "localname": "StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount remaining of a stock repurchase plan authorized.",
        "label": "us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1",
        "terseLabel": "Stock Repurchase Program, Remaining Authorized Repurchase Amount"
       }
      }
     },
     "localname": "StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r11",
      "r15",
      "r16",
      "r81",
      "r160",
      "r191",
      "r361",
      "r380"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 1.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": "us-gaap_StockholdersEquity",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance",
        "totalLabel": "Total shareholders\u2019 equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-changes-in-accumulated-other-comprehensive-income-loss-by-component-details"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SHAREHOLDERS\u2019 EQUITY"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubordinatedBorrowingsDisclosureTextBlock": {
     "auth_ref": [
      "r466"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for borrowings under subordinated debt agreements that qualify as available in computing net capital under SEC's uniform net capital rule, including restrictive covenants, collateral, interest rates and due dates, amounts due by date and amount owed in total.",
        "label": "Subordinated Borrowings Disclosure [Text Block]"
       }
      }
     },
     "localname": "SubordinatedBorrowingsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubordinatedDebt": {
     "auth_ref": [
      "r8",
      "r9",
      "r425",
      "r471"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of subordinated debt (with initial maturities beyond one year or beyond the operating cycle if longer). Subordinated debt places a lender in a lien position behind debt having a higher priority of repayment in liquidation of the entity's assets.",
        "label": "Subordinated debt (Note 7)"
       }
      }
     },
     "localname": "SubordinatedDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubstandardMember": {
     "auth_ref": [
      "r152",
      "r207"
     ],
     "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]"
       }
      }
     },
     "localname": "SubstandardMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-summary-of-credit-quality-indicators-by-internally-assigned-grades-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental disclosures:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_TableTextBlock",
        "terseLabel": "Notes Tables"
       }
      }
     },
     "localname": "TableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-10-accumulated-other-comprehensive-income-loss-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-11-postretirement-obligations-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-14-equity-compensation-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-4-loans-and-allowance-for-loan-losses-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-8-commitments-tables",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-tables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxesExcludingIncomeAndExciseTaxes": {
     "auth_ref": [
      "r56"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited": {
       "order": 7.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All taxes not related to income of the entity or excise or sales taxes levied on the revenue of the entity that are not reported elsewhere. These taxes could include production, real estate, personal property, and pump tax.",
        "label": "State and local taxes"
       }
      }
     },
     "localname": "TaxesExcludingIncomeAndExciseTaxes",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r178",
      "r179",
      "r188",
      "r189",
      "r190",
      "r250",
      "r254",
      "r345",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Financial Instruments [Domain]"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-13-securities-sold-under-agreements-to-repurchase-repurchase-agreements-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockMember": {
     "auth_ref": [
      "r21",
      "r257"
     ],
     "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]"
       }
      }
     },
     "localname": "TreasuryStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockShares": {
     "auth_ref": [
      "r21",
      "r257"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of common and preferred shares that were previously issued and that were repurchased by the issuing entity and held in treasury on the financial statement date. This stock has no voting rights and receives no dividends.",
        "label": "Treasury stock, shares (in shares)"
       }
      }
     },
     "localname": "TreasuryStockShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TreasuryStockSharesAcquired": {
     "auth_ref": [
      "r11",
      "r255",
      "r256"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares that have been repurchased during the period and are being held in treasury.",
        "label": "Treasury stock purchased, shares (in shares)",
        "terseLabel": "Treasury Stock, Shares, Acquired (in shares)"
       }
      }
     },
     "localname": "TreasuryStockSharesAcquired",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program-details-textual"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TreasuryStockTextBlock": {
     "auth_ref": [
      "r259"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for treasury stock, including, but not limited to, average cost per share, description of share repurchase program, shares repurchased, shares held for each class of treasury stock.",
        "label": "Treasury Stock [Text Block]"
       }
      }
     },
     "localname": "TreasuryStockTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-12-stock-repurchase-program"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TreasuryStockValue": {
     "auth_ref": [
      "r21",
      "r257",
      "r258"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount allocated to treasury stock. Treasury stock is common and preferred shares of an entity that were issued, repurchased by the entity, and are held in its treasury.",
        "label": "us-gaap_TreasuryStockValue",
        "negatedLabel": "Treasury stock, at cost, 472,080 shares in 2021 and 505,114 in 2020"
       }
      }
     },
     "localname": "TreasuryStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TreasuryStockValueAcquiredCostMethod": {
     "auth_ref": [
      "r255",
      "r256",
      "r257"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method.",
        "label": "us-gaap_TreasuryStockValueAcquiredCostMethod",
        "negatedLabel": "Treasury shares purchased (8,314 and 4,602 shares purchased during the three months ended June 30, 2021 and 2020, respectively and 18,038 and 150,920 for the six months ended 2021 and 2020, respectively)"
       }
      }
     },
     "localname": "TreasuryStockValueAcquiredCostMethod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_USStatesAndPoliticalSubdivisionsMember": {
     "auth_ref": [
      "r268",
      "r494"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments. Debt securities issued by state governments may include bond issuances of US state authorities including, for example, but not limited to, housing authorities, dormitory authorities, and general obligations while debt securities issued by political subdivisions of US states would include, for example, debt issuances by county, borough, city, or municipal governments.",
        "label": "US States and Political Subdivisions Debt Securities [Member]"
       }
      }
     },
     "localname": "USStatesAndPoliticalSubdivisionsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-investment-securities-availableforsale-and-regulatory-stock-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-3-investment-securities-summary-of-the-fair-value-of-availableforsale-securities-with-unrealized-losses-and-an-aging-of-those-unrealized-losses-details",
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-assets-reported-on-the-consolidated-balance-sheets-on-a-recurring-basis-at-their-fair-value-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ValuationTechniqueAxis": {
     "auth_ref": [
      "r352"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by valuation approach and technique.",
        "label": "Valuation Approach and Technique [Axis]"
       }
      }
     },
     "localname": "ValuationTechniqueAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ValuationTechniqueDomain": {
     "auth_ref": [
      "r352"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach and technique.",
        "label": "Valuation Approach and Technique [Domain]"
       }
      }
     },
     "localname": "ValuationTechniqueDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-9-fair-value-of-assets-and-liabilities-quantitative-information-about-the-level-3-significant-inputs-details"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt",
      "http://www.cortlandbank.com/20210630/role/statement-note-7-subordinated-debt-details-textual"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment": {
     "auth_ref": [
      "r112"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details": {
       "order": 0.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": "Net effect of dilutive common share equivalents (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberDilutedSharesOutstandingAdjustment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r106",
      "r112"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details": {
       "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": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
        "totalLabel": "Adjusted average shares outstanding-dilutive (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r105",
      "r112"
     ],
     "calculation": {
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details": {
       "order": 1.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 common shares outstanding (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.cortlandbank.com/20210630/role/statement-note-6-earnings-per-share-and-capital-transactions-computation-of-earnings-per-share-details"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 9
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=122038215&loc=SL108384541-122693"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "250",
   "URI": "http://asc.fasb.org/topic&trid=2122394"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1448-109256"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1505-109256"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1252-109256"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1278-109256"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1337-109256"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e3842-109258"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e4984-109258"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "http://asc.fasb.org/topic&trid=2144383"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-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": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(4)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953550-111524"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5258-111524"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953659-111524"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5066-111524"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953676-111524"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196772"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10152-111534"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196816"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=124260329&loc=d3e26853-111562"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=124260329&loc=SL6284422-111562"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27198-111563"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27198-111563"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27198-111563"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27198-111563"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27290-111563"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27290-111563"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27290-111563"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27290-111563"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27337-111563"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27357-111563"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27357-111563"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "http://asc.fasb.org/topic&trid=2196928"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82921830-210448"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82921833-210448"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29,30)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82921842-210448"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "79",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "80",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82922355-210448"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(3)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=123389529&loc=d3e10037-110241"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=123408193&loc=d3e12803-110250"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=99376301&loc=d3e1398-112600"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123465755&loc=d3e1895-112601"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "http://asc.fasb.org/subtopic&trid=2208821"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130543-203045"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(i)(2)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(l)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(o)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(p)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(q)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(r)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(r)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=21916913&loc=d3e273930-122802"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "60",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=6414203&loc=d3e39689-114964"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "715",
   "URI": "http://asc.fasb.org/topic&trid=2235017"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "http://asc.fasb.org/topic&trid=2122149"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i-k)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.F)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "805",
   "URI": "http://asc.fasb.org/topic&trid=2303972"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e637-108580"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "http://asc.fasb.org/topic&trid=2197479"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=117331979&loc=d3e41228-113958"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e640-108580"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5708775-113959"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "182",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123421605&loc=SL5629052-113961"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123477628&loc=d3e90205-114008"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e681-108580"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19279-110258"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=SL6742756-110258"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594809&loc=d3e13220-108610"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13467-108611"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669686-108580"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13476-108611"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e689-108580"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123386454&loc=d3e45280-112737"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(4)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123392090&loc=d3e45377-112738"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "848",
   "URI": "http://asc.fasb.org/extlink&oid=122150657&loc=SL122150809-237846"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL34724391-108580"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "860",
   "URI": "http://asc.fasb.org/topic&trid=2197590"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991595-234733"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(1)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(2)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(3)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "http://asc.fasb.org/extlink&oid=123384075&loc=d3e41242-110953"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "940",
   "URI": "http://asc.fasb.org/subtopic&trid=2176304"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117340910&loc=d3e59706-112781"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(6))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(7)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.12)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.7)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(26))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e557-108580"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1-5)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.12)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13(h))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14(b))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.4)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.6)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.7)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.8)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123398031&loc=d3e60009-112784"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123398031&loc=d3e60009-112784"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62586-112803"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(a)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=SL120269850-112803"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=SL120269850-112803"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=SL120269850-112803"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=SL120269850-112803"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/subtopic&trid=2209399"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "325",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599499&loc=d3e63345-112809"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(1))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(2))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(19))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(22))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124507222&loc=d3e1436-108581"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.3(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117819544-158441"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1)(e))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868656-224227"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124508989&loc=d3e19393-158473"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(k)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=124433917&loc=SL114874205-224268"
  },
  "r496": {
   "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": "http://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 6))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 7))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 6))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 7))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 6))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 7))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "http://asc.fasb.org/subtopic&trid=2324412"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=124265262&loc=d3e48678-111004"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "http://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "http://asc.fasb.org/extlink&oid=123360121&loc=d3e27327-108691"
  },
  "r517": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r518": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r519": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "308",
   "Subsection": "a"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r520": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r521": {
   "Name": "Regulation 12B",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r522": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402"
  },
  "r523": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)"
  },
  "r524": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)"
  },
  "r525": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)"
  },
  "r526": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)"
  },
  "r527": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)"
  },
  "r528": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)"
  },
  "r529": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1403"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(21))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r530": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1404"
  },
  "r531": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1404"
  },
  "r532": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(1)"
  },
  "r533": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(2)"
  },
  "r534": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(3)"
  },
  "r535": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(4)"
  },
  "r536": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1405"
  },
  "r537": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "848"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(24))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(4))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(4))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.6)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "220",
   "URI": "http://asc.fasb.org/topic&trid=2134417"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3151-108585"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3367-108585"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3521-108585"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3044-108585"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3095-108585"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3098-108585"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4297-108586"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=SL98516268-108586"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(i))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(ii)(A)(i))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(4)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  }
 },
 "version": "2.1"
}
