XML 49 R39.htm IDEA: XBRL DOCUMENT
v3.23.1

Fair Value Measurements - Summary of the Carrying Value and Fair Value of Convertible Subordinated Notes (Details) - USD ($) $ in Thousands | Mar. 31, 2023 | Dec. 30, 2022
--- | --- | ---
2028 Convertible Senior Notes | Carrying Value | Level 1 | 2028 Convertible Senior Notes |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |
Convertible Notes | $ 287,500 | $ 287,500
2028 Convertible Senior Notes | Carrying Value | Level 3 | 2024 Convertible Senior Notes |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |
Convertible Notes | 39,684 | 41,684
2028 Convertible Senior Notes | Fair Value | Level 1 | 2028 Convertible Senior Notes |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |
Convertible Notes | 291,813 | 292,531
2028 Convertible Senior Notes | Fair Value | Level 3 | 2024 Convertible Senior Notes |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |
Convertible Notes | 40,695 | 43,723
Convertible Unsecured Note | Carrying Value | Level 3 |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |
Convertible Notes | 4,000 | 4,000
Convertible Unsecured Note | Fair Value | Level 3 |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |
Convertible Notes | $ 4,120 | $ 4,345

X
- Definition Including the current and noncurrent portions, carrying value as of the balance sheet date of a written promise to pay a note, initially due after one year or beyond the operating cycle if longer, which can be exchanged for a specified amount of one or more securities (typically common stock), at the option of the issuer or the holder. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(13)) -URI https://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_ConvertibleNotesPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementBasisAxis=us-gaap_CarryingReportedAmountFairValueDisclosureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=chef_Convertible2375SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=chef_Convertible1875SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementBasisAxis=us-gaap_EstimateOfFairValueFairValueDisclosureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_UnsecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |