XML 154 R126.htm IDEA: XBRL DOCUMENT
v3.21.4

Commitments and Contingencies (Details) - CNY (¥) ¥ in Thousands | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2021 | Dec. 31, 2020
Commitments and Contingencies Disclosure [Abstract] |  |
Long term investment | ¥ 18,800 | ¥ 18,800
Outstanding capital commitments |  | ¥ 26

X
- Definition Outstanding capital commitments. + References No definition available. + Details
Name: | uk_OutstandingCapitalCommitments
Namespace Prefix: | uk_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_CommitmentsAndContingenciesDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The minimum amount the entity agreed to spend under the long-term purchase commitment. + References No definition available. + Details
Name: | us-gaap_LongTermPurchaseCommitmentAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration