v3.8.0.1

Consolidated Statements of Equity (Deficit) (Parenthetical) - USD ($) $ in Thousands | 2 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2016 | Dec. 31, 2017
Statement of Stockholders' Equity [Abstract] |  |
Tax receivable agreement arising from exchanges, income taxes | $ 420 | $ 1,898
Income tax, share-based compensation |  | $ 2,610

X
- Definition Adjustments to Additional Paid in Capital, Tax Receivable Agreement from Exchanges, Income Tax Effect + References No definition available. + Details
Name: | twnk_AdjustmentstoAdditionalPaidinCapitalTaxReceivableAgreementfromExchangesIncomeTaxEffect
Namespace Prefix: | twnk_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of increase (decrease) in additional paid in capital (APIC) resulting from a tax benefit (deficiency) associated with an share-based compensation plan other than an employee stock ownership plan (ESOP). + References No definition available. + Details
Name: | us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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