<?xml version="1.0" encoding="us-ascii"?><InstanceReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Version>2.4.0.8</Version><ReportLongName>113 - Disclosure - Letters of credit</ReportLongName><DisplayLabelColumn>true</DisplayLabelColumn><ShowElementNames>false</ShowElementNames><RoundingOption /><HasEmbeddedReports>false</HasEmbeddedReports><Columns><Column FlagID="0"><Id>1</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><CurrencyCode /><FootnoteIndexer /><hasSegments>false</hasSegments><hasScenarios>false</hasScenarios><MCU><KeyName /><CurrencySymbol /><contextRef><ContextID>P01_01_2013To06_30_2013</ContextID><EntitySchema>http://www.sec.gov/CIK</EntitySchema><EntityValue>0001476719</EntityValue><PeriodDisplayName /><PeriodType>duration</PeriodType><PeriodStartDate>2013-01-01T00:00:00</PeriodStartDate><PeriodEndDate>2013-06-30T00:00:00</PeriodEndDate><Segments /><Scenarios /></contextRef><UPS /><CurrencyCode /><OriginalCurrencyCode /></MCU><CurrencySymbol /><Labels><Label Key="CalendarSupplement" Id="0" Label="6 Months Ended" /><Label Key="Calendar" Id="1" Label="Jun. 30, 2013" /></Labels></Column></Columns><Rows><Row FlagID="0"><Id>1</Id><IsAbstractGroupTitle>true</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>1</Level><ElementName>crmb_LettersOfCreditAbstract</ElementName><ElementPrefix>crmb_</ElementPrefix><IsBaseElement>false</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText /><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>xbrli:stringItemType</ElementDataType><SimpleDataType>string</SimpleDataType><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>Letters of credit [Abstract]</Label></Row><Row FlagID="0"><Id>2</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>2</Level><ElementName>crmb_LettersOfCreditTextBlock</ElementName><ElementPrefix>crmb_</ElementPrefix><IsBaseElement>false</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><PreferredLabelRole>label</PreferredLabelRole><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="P01_01_2013To06_30_2013" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText>              &lt;table border="0" style="clear:both;width:100%; table-layout:fixed;"&gt;  &lt;tr&gt;  &lt;td&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;/table&gt;    &lt;div style="clear:both; FONT-FAMILY:Times New Roman;FONT-SIZE: 10pt;MARGIN: 0pt 0px; FONT: 10pt Times New Roman, Times, Serif "&gt;  &lt;div style="clear:both; FONT-FAMILY:Times New Roman;FONT-SIZE: 10pt;MARGIN: 0in 0in 0pt; FONT-SIZE: 10pt"&gt;  &lt;table style="clear:both;MARGIN-TOP: 0pt; FONT: bold 10pt Times New Roman, Times, Serif; MARGIN-BOTTOM: 0pt"   cellspacing="0" cellpadding="0" width="100%"&gt;  &lt;tr style="VERTICAL-ALIGN: top"&gt;  &lt;td style="WIDTH: 0.25in"&gt;  &lt;div&gt;8.&lt;/div&gt;  &lt;/td&gt;  &lt;td&gt;  &lt;div&gt;Letters of credit&lt;/div&gt;  &lt;/td&gt;  &lt;/tr&gt;  &lt;/table&gt;  &lt;/div&gt;    &lt;div style="clear:both; FONT-FAMILY:Times New Roman;FONT-SIZE: 10pt;MARGIN: 0pt 0px; FONT: 10pt Times New Roman, Times, Serif"   align="justify"&gt;&lt;i&gt;&amp;#160;&lt;/i&gt;&lt;/div&gt;    &lt;div style="clear:both; FONT-FAMILY:Times New Roman;FONT-SIZE: 10pt;MARGIN: 0pt 0px; FONT: 10pt Times New Roman, Times, Serif"   align="justify"&gt;In lieu of security deposits required pursuant to  the terms of several operating leases, Holdings has chosen to  obtain letters of credit issued by two financial institutions, when  such substitution is allowed by the landlords. As of June 30, 2013  and December 31, 2012, issued and unused letters of credit totaled  $&lt;font style=" FONT-SIZE: 10pt"&gt;591,825&lt;/font&gt; and $&lt;font style=" FONT-SIZE: 10pt"&gt;637,425&lt;/font&gt;, respectively. In May 2011,  Holdings entered into a loan agreement in connection with the  letters of credit issued by one of the institutions in the form of  a $&lt;font style=" FONT-SIZE: 10pt"&gt;&lt;font style=" FONT-SIZE: 10pt"&gt;575,000&lt;/font&gt;&lt;/font&gt; revolving line of credit,  with a variable rate based on the Wall Street Journal Prime Rate.  Prior to entering into this agreement, the letters of credit were  guaranteed by a Member. Letters of credit amounting to $&lt;font  style=" FONT-SIZE: 10pt"&gt;493,825&lt;/font&gt; and $&lt;font style=" FONT-SIZE: 10pt"&gt;539,425&lt;/font&gt; were reserved under this line of  credit as of June 30, 2013 and December 31, 2012, respectively. The  line of credit is secured by a certificate of deposit, and no  amounts were outstanding on the line of credit at June 30, 2013 and  December 31, 2012. Letters of credit in the amount of $&lt;font style=" FONT-SIZE: 10pt"&gt;&lt;font style=" FONT-SIZE: 10pt"&gt;98,000&lt;/font&gt;&lt;/font&gt; issued by a second  financial institution are also secured by certificates of  deposit.&lt;/div&gt;    &lt;div style="clear:both; FONT-FAMILY:Times New Roman;FONT-SIZE: 10pt;MARGIN: 0pt 0px; FONT: 10pt Times New Roman, Times, Serif"   align="justify"&gt;&amp;#160;&lt;/div&gt;    &lt;div style="clear:both; FONT-FAMILY:Times New Roman;FONT-SIZE: 10pt;MARGIN: 0pt 0px; FONT: 10pt Times New Roman, Times, Serif"   align="justify"&gt;The certificates of deposit used to secure the  letters of credit are recorded as restricted certificates of  deposit in the balance sheet (see &amp;#8220;Restricted certificates of  deposit,&amp;#8221; Note 1).&lt;/div&gt;  &lt;/div&gt;        </NonNumbericText><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>nonnum:textBlockItemType</ElementDataType><SimpleDataType>na</SimpleDataType><ElementDefenition>The entire disclosure for information about letter of credit debt arrangements.</ElementDefenition><ElementReferences>No definition available.</ElementReferences><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>Letters of credit [Text Block]</Label></Row></Rows><Footnotes /><IsEquityReport>false</IsEquityReport><ReportName>Letters of credit</ReportName><MonetaryRoundingLevel>UnKnown</MonetaryRoundingLevel><SharesRoundingLevel>UnKnown</SharesRoundingLevel><PerShareRoundingLevel>UnKnown</PerShareRoundingLevel><ExchangeRateRoundingLevel>UnKnown</ExchangeRateRoundingLevel><HasCustomUnits>true</HasCustomUnits><IsEmbedReport>false</IsEmbedReport><IsMultiCurrency>false</IsMultiCurrency><ReportType>Sheet</ReportType><RoleURI>http://www.crumbs.com/role/LettersOfCredit</RoleURI><NumberOfCols>1</NumberOfCols><NumberOfRows>2</NumberOfRows></InstanceReport>
