v3.23.3

Summary of Significant Accounting Policies - Inventories (Details) - USD ($) $ in Thousands | Sep. 30, 2023 | Dec. 31, 2022
--- | --- | ---
Accounting Policies [Abstract] |  |
Ingredients and packaging | $ 30,076 | $ 35,410
Finished goods | 27,592 | 26,133
Inventory in transit to customers | 4,383 | 3,863
Inventories | $ 62,051 | $ 65,406

X
- Definition Other Inventory, In Transit, Net + References No definition available. + Details
Name: | twnk_OtherInventoryInTransitNet
Namespace Prefix: | twnk_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 Carrying amount, net of valuation reserves and adjustments, as of the balance sheet date of merchandise or goods held by the company that are readily available for sale. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(6)(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 330 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.BB) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480581/330-10-S99-2 + Details
Name: | us-gaap_InventoryFinishedGoodsNetOfReserves
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481372/852-10-55-10 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483467/210-10-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(6)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_InventoryNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Aggregated amount of unprocessed materials to be used in manufacturing or production process and supplies that will be consumed. This amount is net of valuation reserves and adjustments. + 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(6)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 330 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.BB) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480581/330-10-S99-2 + Details
Name: | us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant