v3.8.0.1

Income Taxes - Additional Information (Details) - USD ($) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2017
Operating Loss Carryforwards [Line Items] |  |  |
Reversal of valuation allowance |  | $ 2,800,000 |
Unrecognized tax benefits that would affect tax rate | $ 0 | 0 | $ 0
Tax Cuts And Jobs Act Of 2017, provisional non-cash tax benefit | 111,300,000 |  | 111,300,000
State Tax Authority |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Operating loss carryforwards | 2,500,000 |  | 2,500,000
Operating loss carryforwards, subject to annual limitations, Company | 2,500,000 |  | 2,500,000
State income tax credit carryforward | 2,900,000 |  | 2,900,000
Domestic Tax Authority |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Operating loss carryforwards | 1,100,000 |  | 1,100,000
C Corporation | State Tax Authority |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Operating loss carryforwards | 4,100,000 |  | 4,100,000
Operating loss carryforwards, subject to annual limitations, C corporation | $ 4,100,000 |  | $ 4,100,000
C Corporation | State Tax Authority | Operating Loss Carryforwards |  |  |
Operating Loss Carryforwards [Line Items] |  |  |
Valuation allowance |  | $ 200,000 |

X
- Definition Operating Loss Carryforwards, Change in Ownership, Subject to Annual Limitations + References No definition available. + Details
Name: | twnk_OperatingLossCarryforwardsChangeinOwnershipSubjecttoAnnualLimitations
Namespace Prefix: | twnk_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Operating Loss Carryforwards, Subject to Annual Limitations + References No definition available. + Details
Name: | twnk_OperatingLossCarryforwardsSubjecttoAnnualLimitations
Namespace Prefix: | twnk_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Tax Cuts And Jobs Act Of 2017, Incomplete Accounting, Change in Tax Rate, Deferred Tax Asset, Provisional Income Tax Expense (Benefit) + References No definition available. + Details
Name: | twnk_TaxCutsAndJobsActOf2017IncompleteAccountingChangeinTaxRateDeferredTaxAssetProvisionalIncomeTaxExpenseBenefit
Namespace Prefix: | twnk_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319 + Details
Name: | us-gaap_DeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32559-109319 + Details
Name: | us-gaap_OperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_OperatingLossCarryforwardsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the tax credit carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32559-109319 + Details
Name: | us-gaap_TaxCreditCarryforwardAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84230637&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=84176650&loc=d3e32123-109318 + Details
Name: | us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_StateAndLocalJurisdictionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_DomesticCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConsolidatedEntitiesAxis=us-gaap_SubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowanceByDeferredTaxAssetAxis=us-gaap_ValuationAllowanceOperatingLossCarryforwardsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |