v3.23.3

Income Taxes (Details) | 12 Months Ended
--- | ---
Dec. 31, 2023
Forecast |
Income Tax Disclosure [Line Items] |
Effective income tax rate (as a percent) | 27.00%

X
- Definition [Line Items] for Income Tax Disclosure [Table] + References No definition available. + Details
Name: | twnk_IncomeTaxDisclosureLineItems
Namespace Prefix: | twnk_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-12 + Details
Name: | us-gaap_EffectiveIncomeTaxRateContinuingOperations
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |