v3.23.3

Summary of Significant Accounting Policies - Software Costs (Details) - USD ($) $ in Millions | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Sep. 30, 2023 | Sep. 30, 2022 | Sep. 30, 2023 | Sep. 30, 2022 | Dec. 31, 2022
Accounting Policies [Abstract] |  |  |  |  |
Capitalized software | $ 23.6 |  | $ 23.6 |  | $ 21.4
Accumulated amortization | 26.8 |  | $ 26.8 |  | $ 22.6
Capitalized software, estimated useful life (in years) |  |  | 5 years |  |
Software amortization expense | $ 1.4 | $ 1.1 | $ 4.3 | $ 3.2 |

X
- Definition Capitalized Computer Software, Useful Life + References No definition available. + Details
Name: | twnk_CapitalizedComputerSoftwareUsefulLife
Namespace Prefix: | twnk_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition For each balance sheet presented, the amount of accumulated amortization for capitalized computer software costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 985 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481283/985-20-50-1 + Details
Name: | us-gaap_CapitalizedComputerSoftwareAccumulatedAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of expense for amortization of capitalized computer software costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 985 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481283/985-20-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -SubTopic 20 -Topic 985 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481283/985-20-50-1 + Details
Name: | us-gaap_CapitalizedComputerSoftwareAmortization1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The carrying amount of capitalized computer software costs net of accumulated amortization as of the balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 985 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481283/985-20-50-1 + Details
Name: | us-gaap_CapitalizedComputerSoftwareNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant