XML 125 R104.htm IDEA: XBRL DOCUMENT
v3.22.1

Related Party Transactions - Schedule Of Related Party Transactions (Parenthetical) (Detail) ¥ in Thousands, $ in Thousands | Dec. 31, 2021 CNY (¥) | Dec. 31, 2021 USD ($) | Dec. 31, 2020 CNY (¥)
--- | --- | --- | ---
Related Party Transaction [Line Items] |  |  |
Operating lease right-of-use assets | ¥ 256,451 | $ 40,243 | ¥ 266,968
Operating lease liabilities | 266,879 | 41,879 |
Xiaomi Group [Member] |  |  |
Related Party Transaction [Line Items] |  |  |
Operating lease right-of-use assets | 210,551 | 33,024 | 243,585
Operating lease liabilities | ¥ 238,180 | $ 37,356 | ¥ 250,646

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of lessee's right to use underlying asset under operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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