XML 93 R67.htm IDEA: XBRL DOCUMENT
v3.23.1

Long-Term Investments - Schedule of Long-Term Investments (Parenthetical) (Details) ¥ in Thousands, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 CNY (¥) Investment | Dec. 31, 2022 USD ($) | Dec. 31, 2021 CNY (¥) | Dec. 31, 2020 CNY (¥)
Schedule Of Equity Method Investments [Line Items] |  |  |  |
Gain/(loss) from equity method investments | ¥ 6,453 | $ 936 | ¥ (4,886) | ¥ 1,349
Impairment loss on long-term investments | 500 | $ 72 | ¥ 5,000 | ¥ 882
Gain (loss) on equity securities fair value | ¥ | (391) |  |  |
Long-term Investments |  |  |  |
Schedule Of Equity Method Investments [Line Items] |  |  |  |
Investment committed amount but not yet paid | ¥ | ¥ 3,715 |  |  |
Limited Partnerships |  |  |  |
Schedule Of Equity Method Investments [Line Items] |  |  |  |
Number of investments | Investment | 3 |  |  |
Private Company |  |  |  |
Schedule Of Equity Method Investments [Line Items] |  |  |  |
Number of investments | Investment | 4 |  |  |

X
- Definition Number of investments. + References No definition available. + Details
Name: | stg_NumberOfInvestments
Namespace Prefix: | stg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of contractual obligation, including but not limited to, long-term debt, capital lease obligations, operating lease obligations, purchase obligations, and other commitments. + References No definition available. + Details
Name: | us-gaap_ContractualObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of unrealized and realized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126980263&loc=SL75117546-209714 + Details
Name: | us-gaap_EquitySecuritiesFvNiGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of income (loss) for proportionate share of equity method investee's income (loss). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(12)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(10)) -URI https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(13)(f)) -URI https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (g) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570 + Details
Name: | us-gaap_IncomeLossFromEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of other-than-temporary impairment (OTTI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), recognized in earnings and other comprehensive loss (OCI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 8A -URI https://asc.fasb.org/extlink&oid=124260329&loc=SL6284422-111562 + Details
Name: | us-gaap_OtherThanTemporaryImpairmentLossDebtSecuritiesAvailableForSale
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_ScheduleOfEquityMethodInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=stg_LongTermInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PartnerTypeOfPartnersCapitalAccountAxis=us-gaap_LimitedPartnerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PartnerTypeOfPartnersCapitalAccountAxis=stg_PrivateCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |