XML 128 R107.htm IDEA: XBRL DOCUMENT
v3.22.1

Related Party Transactions - Schedule of Repayment of Related Party Loans in Fixed Quarterly Installments (Detail) - Dec. 31, 2021 - Xiaomi Group [Member] ¥ in Thousands, $ in Thousands | CNY (¥) | USD ($)
--- | --- | ---
Related Party Debt By Maturity [Line Items] |  |
2022 | ¥ 236,206 | $ 37,066
2023 | 241,168 | 37,845
2024 | 231,714 | 36,361
Total | ¥ 709,088 | $ 111,272

X
- Definition Related party debt by maturity. + References No definition available. + Details
Name: | kc_RelatedPartyDebtByMaturityLineItems
Namespace Prefix: | kc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Related party debt maturities repayments of principal in next twelve months. + References No definition available. + Details
Name: | kc_RelatedPartyDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths
Namespace Prefix: | kc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Related party debt maturities repayments of principal in year three. + References No definition available. + Details
Name: | kc_RelatedPartyDebtMaturitiesRepaymentsOfPrincipalInYearThree
Namespace Prefix: | kc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Related party debt maturities repayments of principal in year two. + References No definition available. + Details
Name: | kc_RelatedPartyDebtMaturitiesRepaymentsOfPrincipalInYearTwo
Namespace Prefix: | kc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Related party short term debt. + References No definition available. + Details
Name: | kc_RelatedPartyShortTermDebt
Namespace Prefix: | kc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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