XML 80 R59.htm IDEA: XBRL DOCUMENT
v3.22.1

Summary of Significant Accounting Policies - Schedule of Finite Lived Intangible Assets Useful Lives (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2021
Others [Member] |
Finite-Lived Intangible Assets [Line Items] |
Estimated Useful Life | 3 years
Customer Relationships [Member] |
Finite-Lived Intangible Assets [Line Items] |
Estimated Useful Life | 6 years
Patents And Technology [Member] | Minimum [Member] |
Finite-Lived Intangible Assets [Line Items] |
Estimated Useful Life | 6 years
Patents And Technology [Member] | Maximum [Member] |
Finite-Lived Intangible Assets [Line Items] |
Estimated Useful Life | 10 years
Trade Marks And Domain Names [Member] |
Finite-Lived Intangible Assets [Line Items] |
Estimated Useful Life | 10 years
Software and Copyrights [Member] | Minimum [Member] |
Finite-Lived Intangible Assets [Line Items] |
Estimated Useful Life | 3 years
Software and Copyrights [Member] | Maximum [Member] |
Finite-Lived Intangible Assets [Line Items] |
Estimated Useful Life | 10 years

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=kc_OthersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=kc_PatentsAndTechnologyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=kc_TradeMarksAndDomainNamesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=kc_SoftwareAndCopyrightsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |