v3.25.1

Restricted cash (Details) ¥ in Thousands, $ in Thousands | Dec. 31, 2024 CNY (¥) | Dec. 31, 2024 USD ($) | Dec. 31, 2023 CNY (¥)
--- | --- | --- | ---
Restricted cash. |  |  |
Restricted cash | ¥ 17,031 | $ 2,333 | ¥ 18,137
Additional amount subject to potential restriction | 61,000 |  |
Additional cash amount in the particular bank account, maximum | ¥ 61,000 |  |

X
- Definition Maximum amount of cash balances on deposit in the bank account. + References No definition available. + Details
Name: | huya_CashBalancesOnDepositMaximum
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of cash subject to potential restriction imposed from the court when there is additional cash amount in the particular bank account up to the amount, due to a pending lawsuit. + References No definition available. + Details
Name: | huya_RestrictedCashSubjectToPotentialRestrictions
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount of cash restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-8 + Details
Name: | us-gaap_RestrictedCashCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant