v3.22.0.1

Portfolio Loans Receivable - Accretable Discount (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Receivables [Abstract] |  |
Remaining nonaccretable discount | $ 285,000 | $ 285,000
Loans receivable, net | 817,800 | 835,700
Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Accretable Yield Movement Schedule [Roll Forward] |  |
Accretable discount at beginning of period | 221,000 | 429,000
Accretion and payoff of loans | (55,000) | (208,000)
Accretable discount at end of period | $ 166,000 | $ 221,000

X
- Definition Loans And Leases Receivable, With Nonaccretable Discounts, Net Amount + References No definition available. + Details
Name: | cbnk_LoansAndLeasesReceivableWithNonaccretableDiscountsNetAmount
Namespace Prefix: | cbnk_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of the loan's contractually required payments receivable in excess of the amount of its cash flows expected to be collected. This relates to loans with deteriorating of credit quality since origination that were acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable. + References No definition available. + Details
Name: | us-gaap_CertainLoansAcquiredInTransferNonaccretableDifference
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of the excess of a loan's cash flows expected to be collected over the investor's initial investment in acquired loans not accounted for as debt securities with evidence of deterioration of credit quality. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 15 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123409700&loc=d3e13503-111538 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=121614798&loc=d3e15032-111544 + Details
Name: | us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYield
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accretion recognized for the excess of a loan's cash flows expected to be collected over the investor's initial investment in acquired loans not accounted for as debt securities, with evidence of deterioration of credit quality. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 15 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123409700&loc=d3e13503-111538 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=121614798&loc=d3e15032-111544 + Details
Name: | us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldAccretion
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldMovementScheduleRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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