v3.8.0.1

Equity (Details) | 2 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2016 shares | Dec. 31, 2017 class day $ / shares shares
Class of Stock [Line Items] |  |
Common stock, number of classes | class |  | 3
Warrants redemption price (usd per share) | $ / shares |  | $ 0.01
Share price (usd per share) | $ / shares |  | $ 24.00
Warrants trading days threshold | day |  | 20
Warrants trading day period before redemption |  | 30 days
Public warrants |  |
Class of Stock [Line Items] |  |
Warrants outstanding (shares) | 37,500,000 | 44,182,889
Private placement warrants |  |
Class of Stock [Line Items] |  |
Warrants outstanding (shares) | 19,000,000 | 12,317,001
Common Class A |  |
Class of Stock [Line Items] |  |
Common stock, authorized (shares) |  | 200,000,000
Common stock, issued (shares) | 98,250,917 | 99,791,245
Common stock, outstanding (shares) | 98,250,917 | 99,791,245
Exercise price of warrant (usd per share) | $ / shares |  | $ 5.75
Class of warrant, number of securities called |  | 0.5
Common Class B |  |
Class of Stock [Line Items] |  |
Common stock, authorized (shares) |  | 50,000,000
Common stock, issued (shares) | 31,704,988 | 30,319,564
Common stock, outstanding (shares) | 31,704,988 | 30,319,564
Number of shares exchanged | 661,700 | 1,385,424
Common Class F |  |
Class of Stock [Line Items] |  |
Common stock, authorized (shares) |  | 10,000,000
Common stock, issued (shares) | 0 | 0
Common stock, outstanding (shares) | 0 | 0

X
- Definition Class of Warrant or Right, Redemption Price Per Share + References No definition available. + Details
Name: | twnk_ClassofWarrantorRightRedemptionPricePerShare
Namespace Prefix: | twnk_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Class of Warrant or Right, Stock Price Threshold Trading Days + References No definition available. + Details
Name: | twnk_ClassofWarrantorRightStockPriceThresholdTradingDays
Namespace Prefix: | twnk_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Class of Warrant or Right, Trading Day Period Prior to Redemption + References No definition available. + Details
Name: | twnk_ClassofWarrantorRightTradingDayPeriodPriortoRedemption
Namespace Prefix: | twnk_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Common Stock, Number of Classes + References No definition available. + Details
Name: | twnk_CommonStockNumberofClasses
Namespace Prefix: | twnk_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Stock Trigger Price + References No definition available. + Details
Name: | twnk_StockTriggerPrice
Namespace Prefix: | twnk_
Data Type: | num:perShareItemType
Balance Type: | na
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_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(4)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which each warrant or right may be converted. For example, but not limited to, each warrant may be converted into two shares. + References No definition available. + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21463-112644 + Details
Name: | us-gaap_CommonStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares issued during the period as a result of the conversion of convertible securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29-30) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21463-112644 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21475-112644 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=twnk_PublicWarrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=twnk_PrivatePlacementWarrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=twnk_CommonClassFMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |