XML 77 R56.htm IDEA: XBRL DOCUMENT
v3.22.1

Organization and Basis of Presentation - Schedule of Assets Liabilities Results of Variable Interest Entities (Parenthetical) (Detail) ¥ in Thousands, $ in Thousands | Dec. 31, 2021 CNY (¥) | Dec. 31, 2021 USD ($) | Dec. 31, 2020 CNY (¥) | Dec. 31, 2020 USD ($) | Dec. 31, 2019 CNY (¥) | Dec. 31, 2018 CNY (¥)
--- | --- | --- | --- | --- | --- | ---
Organization Consolidation And Presentation Of Financial Statements [Line Items] |  |  |  |  |  |
Allowanace for doubtful debt on accounts receivable current | ¥ 32,265 | $ 5,063 | ¥ 15,770 | $ 2,475 | ¥ 22,894 | ¥ 2,249
Variable Interest Entity, Primary Beneficiary [Member] |  |  |  |  |  |
Organization Consolidation And Presentation Of Financial Statements [Line Items] |  |  |  |  |  |
Allowanace for doubtful debt on accounts receivable current | ¥ 30,082 | $ 4,721 | ¥ 15,745 |  |  |

X
- Definition Organization consolidation and presentation of financial statements. + References No definition available. + Details
Name: | kc_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems
Namespace Prefix: | kc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of allowance for credit loss on accounts receivable, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(4) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -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 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |