v3.22.0.1

Portfolio Loans Receivable - Credit Quality Indicators (Details) - USD ($) $ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | $ 1,531,202 | $ 1,316,276
Pass |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 1,492,799 | 1,280,828
Special Mention |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 24,523 | 22,909
Substandard |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 13,880 | 12,539
Doubtful |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 0 | 0
Residential | Real estate: |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 401,607 | 437,860
Residential | Real estate: | Pass |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 394,488 | 428,260
Residential | Real estate: | Special Mention |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 2,540 | 5,150
Residential | Real estate: | Substandard |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 4,579 | 4,450
Residential | Real estate: | Doubtful |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 0 | 0
Commercial |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 175,956 | 157,127
Commercial | Pass |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 164,066 | 145,365
Commercial | Special Mention |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 10,417 | 9,766
Commercial | Substandard |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 1,473 | 1,996
Commercial | Doubtful |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 0 | 0
Commercial | Real estate: |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 556,339 | 392,550
Commercial | Real estate: | Pass |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 548,244 | 383,311
Commercial | Real estate: | Special Mention |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 8,070 | 6,881
Commercial | Real estate: | Substandard |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 25 | 2,358
Commercial | Real estate: | Doubtful |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 0 | 0
Construction | Real estate: |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 255,147 | 224,904
Construction | Real estate: | Pass |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 243,848 | 220,057
Construction | Real estate: | Special Mention |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 3,496 | 1,112
Construction | Real estate: | Substandard |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 7,803 | 3,735
Construction | Real estate: | Doubtful |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 0 | 0
Consumer | Credit card, net of reserve |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 141,120 | 102,186
Consumer | Credit card, net of reserve | Pass |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 141,120 | 102,186
Consumer | Credit card, net of reserve | Special Mention |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 0 | 0
Consumer | Credit card, net of reserve | Substandard |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 0 | 0
Consumer | Credit card, net of reserve | Doubtful |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 0 | 0
Consumer | Other consumer |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 1,033 | 1,649
Consumer | Other consumer | Pass |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 1,033 | 1,649
Consumer | Other consumer | Special Mention |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 0 | 0
Consumer | Other consumer | Substandard |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | 0 | 0
Consumer | Other consumer | Doubtful |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Portfolio loans receivable, net of deferred fees and costs | $ 0 | $ 0

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before allowance for credit loss, of financing receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7A -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI http://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 80 -URI http://asc.fasb.org/extlink&oid=124267575&loc=SL82922355-210448 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1405 -Paragraph (a) -Subparagraph (1) Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1405 -Paragraph (a) -Subparagraph (2) Reference 9: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1404 -Paragraph (a) + Details
Name: | us-gaap_NotesReceivableGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_PassMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SpecialMentionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SubstandardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_DoubtfulMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_RealEstateLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=cbnk_ConstructionPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ConsumerPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_CreditCardReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=cbnk_OtherConsumerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |