XML 71 R54.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Principal Activities and Reorganization - Additional Information (Details) - CNY (¥) | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Principal Activities And Reorganization [Line Items] |  |  |
Date of incorporation | Sep. 06, 2016 |  |
Variable Interest Entity Primary Beneficiary |  |  |
Principal Activities And Reorganization [Line Items] |  |  |
Inter-company revenues | ¥ 0 | ¥ 0 | ¥ 0
Proceeds from advances from consolidated entities | 117,000,000 | 0 | 129,664,000
Repayment of advances to consolidated entities | 42,000,000 | 0 | ¥ 36,664,000
Amount due to related party debt | ¥ 168,000,000 | ¥ 93,000,000 |
Technology Consulting and Service Agreement |  |  |
Principal Activities And Reorganization [Line Items] |  |  |
Term of agreement termination notice period | 30 days |  |
Effective Period of Agreement | 10 years |  |

X
- Definition Date when an entity was incorporated + References No definition available. + Details
Name: | dei_EntityIncorporationDateOfIncorporation
Namespace Prefix: | dei_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash inflow from a long-term borrowing made from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth. Alternate caption: Proceeds from Advances from Affiliates. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-14 + Details
Name: | us-gaap_ProceedsFromRelatedPartyDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow for the payment of a long-term borrowing made from a related party where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth. Alternate caption: Payments for Advances from Affiliates. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_RepaymentsOfRelatedPartyDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income after deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 30 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-30 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-42 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-22 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-32 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 40 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-40 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-22 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-32 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 41 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-41 + Details
Name: | us-gaap_RevenuesNetOfInterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount due to related party debt. + References No definition available. + Details
Name: | ysg_AmountDueToRelatedPartyDebt
Namespace Prefix: | ysg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effective period of agreement. + References No definition available. + Details
Name: | ysg_EffectivePeriodOfAgreement
Namespace Prefix: | ysg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Principal activities and reorganization. + References No definition available. + Details
Name: | ysg_PrincipalActivitiesAndReorganizationLineItems
Namespace Prefix: | ysg_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of agreement termination notice period + References No definition available. + Details
Name: | ysg_TermOfAgreementTerminationNoticePeriod
Namespace Prefix: | ysg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=ysg_TechnologyConsultingAndServiceAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |