v3.23.1

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 -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319 + 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: |