Debt | 6. Debt Debt, including debt due to related parties, consists of the following (in thousands): DECEMBER 31, 2016 2015 Secured promissory notes (“October 2012 and April 2013 Secured Promissory Notes”) bearing interest at 14.00% per annum, payable monthly through October 2018, collateralized by substantially all of the Company’s assets, net of unamortized debt discount as of December 31, 2016 and December 31, 2015 of $228 and $48, respectively, discount is based on imputed interest rate of 15.0% $ 12,222 $ 12,402 Secured promissory note (“June 2014 Secured Promissory Note”) bearing interest at prime plus 2% (5.5% as of December 31, 2016) per annum, payable monthly through June 2036, collateralized by certain of the Company’s deposit accounts and MMM LLC’s inventories, chattel paper, accounts, equipment and general intangibles, net of unamortized debt discount as of December 31, 2016 and December 31, 2015 of $247 and $270, respectively, discount is based on imputed interest rate of 5.8% 9,113 9,351 Senior secured promissory notes due to related parties (“August 2015 Senior Secured Promissory Notes”) bearing interest at 8% per annum, interest is payable biannually with principal payments due in increments at three, four and five years from the closing date, collateralized by substantially all of the Company’s assets, net of unamortized discount as of December 31, 2016 and December 31, 2015 of $3,333 and $4,488, respectively debt discount is based on imputed interest rate of 10.9% (see Note 15) 36,667 35,512 Debt, including debt due to related parties 58,002 57,265 Less debt due to related parties (36,667 ) (35,512 ) Less current portion (252 ) (244 ) $ 21,083 $ 21,509 As of December 31, 2016, aggregate contractual future principal payments on the Company’s debt, including debt due to related parties, are due as follows (in thousands): Year Ended December 31, 2017 $ 274 2018 22,739 2019 10,306 2020 20,322 2021 342 Thereafter 7,827 Total future principal payments $ 61,810 The fair value of the Company’s outstanding debt obligations as of December 31, 2016 and 2015 was $21,611,000 and $23,457,000, respectively, which was estimated based on a discounted cash flow model using an estimated market rate of interest of 15% for the fixed rate debt and 5.50% for the variable rate debt, and is classified as Level 3 within the fair value hierarchy. Term Loan In March 2009, October 2010 and October 2011, the Company and Five Star Bank agreed to modify the terms of its existing revolving line of credit (“Revolver”). Under the modified terms of the Revolver, the Company’s borrowings under the Revolver were limited to 75% of qualifying accounts receivable with a maximum borrowing limit of $500,000. In March 2012, the Company entered into a change in terms agreement with the bank under which the existing Revolver was replaced by the Term Loan in the amount of $500,000 bearing interest at a rate of 7% per annum, maturing April 1, 2016. The Company’s inventories, chattel paper, accounts receivable, equipment and general intangibles (excluding certain financed equipment and intellectual property) have been pledged as collateral under the Term Loan. The Term Loan was fully paid off in August 2015. Secured Promissory Notes On October 2, 2012, the Company borrowed $7,500,000 pursuant to senior notes (“October 2012 Secured Promissory Notes”) with a group of lenders. The October 2012 Secured Promissory Notes have an initial term of three years and can be extended for an additional two years in one year increments at the option of the Company. During the initial three-year term, the October 2012 Secured Promissory Notes bear interest at 12% per annum. If the term of the October 2012 Secured Promissory Notes is extended an additional year, the interest rate is 13% during the fourth year. If the term of the October 2012 Secured Promissory Notes is extended for an additional two years, the interest rate is 14% during the fifth year. Interest on the October 2012 Secured Promissory Notes is payable monthly through the initial maturity date of the loan, which is October 2, 2015, or through any extension period. The principal and all unpaid interest are due on the maturity date, as may be extended. In August 2015, the terms of the October 2012 Secured Promissory Notes were amended, resulting in an increase in the interest rate to 18% effective September 1, 2015 for the then remaining term of the notes. The Company also provided a written notice in September 2015 to extend the maturity date to October 2, 2017. This amendment was accounted for as a modification of the loan agreement with the effective interest rate adjusted prospectively from the amendment date. In November 2016, the Company amended the October 2012 Secured Promissory Notes. The amendment resulted in (i) a decrease of the interest rate to 14% effective November 1, 2016 for the remaining term of the notes; (ii) an extension of the maturity date by one year to October 2, 2018; (iii) an agreement by Gordon Snyder, an individual, as administrative agent for the Lenders (defined below) (the “Snyder Agent”) to enter into an intercreditor agreement, on behalf of itself and the Lenders party to the underlying loan agreement (the “Lenders”), with a third- party lender pursuant to which the Snyder Agent would subordinate its lien in the Company’s accounts receivable and inventory to the new lien of the third-party lender in such collateral; and (iv) the Company’s delivery to the Snyder Agent warrants in the name of each Lender to purchase 10 shares of the Company’s common stock for each $1,000 of principal outstanding under the loans by each such Lender, for a total of 124,500 shares subject to the warrants (“November 2016 Warrants”), at an exercise price of $2.38 per share. The November 2016 Warrants were valued using the Black Scholes method at $209,000 and recorded as a discount to the debt. This discount is being amortized over the remaining term of this note and the outstanding balance of the November 2016 Warrants was $192,000 as of December 31, 2016. As part of the terms of the October 2012 Secured Promissory Notes, the Company is required to pay a fee of 5% of the funded principal amount to the agent that facilitated the borrowing and provides management of the relationship with the group of lenders (“Agent Fee”). This Agent Fee is payable within 30 days after all interest and principal have been paid. For each year the Company extends the maturity date of the October 2012 Secured Promissory Notes beyond the initial term, the agent will receive an additional 1% fee based on the funded principal amount. The present value of the unpaid Agent Fee, based on 5% of the funded principal amount, or $261,000, as of the closing date of the October 2012 Secured Promissory Notes this fee was originally recorded as both deferred financing costs as a component of current and non-current other assets and non-current other liabilities. The balance of the deferred financing costs as of December 31, 2015 has been retrospectively reclassified as a discount to these notes as of December 31, 2015 as further discussed in Note 2. As the maturity date was extended two years in September 2015, the agent fee was increased to 7% of the funded principal amount. The amortization of the deferred financing costs and the accretion of the Agent Fee are recorded to interest expense over the term of the arrangement. As of December 31, 2016, $762,000 of the Agent Fee, including the amounts relating to the additional funds received from the issuance of the April 2013 Secured Promissory Notes discussed below, was recorded under non-current other liabilities. In addition, the Company incurred an additional $66,000 in financing-related costs, primarily legal fees. These costs were originally recorded as deferred financing costs and have been retrospectively reclassified as of December 31, 2015 as a discount to this note and are being amortized to interest expense over the term of the arrangement as further discussed in Note 2. The October 2012 Secured Promissory Notes are secured by the Company’s ownership interest in MMM LLC, a security interest in the assets of the Company’s manufacturing plant and all of the Company’s other assets, subject to certain permitted liens. This security interest was subordinate to the security interest held by the holder of a previously outstanding promissory note issued in April 2012 and repaid in January 2013 (“April 2012 Note”), which also had a security interest in MMM LLC. The Company also issued warrants (“Common Stock Warrants”) to the group of lenders to purchase a number of shares of common stock equal to 15% of the funded principal amount of the October 2012 Secured Promissory Notes divided by 70% of the value of common stock in a sale of the Company or a Qualified IPO, with such Common Stock Warrants having an exercise price of 70% of the value of common stock in a sale of the Company or a Qualified IPO. The Common Stock Warrants would be automatically exercised immediately prior to expiration on the earlier to occur of a Qualified IPO or a sale of the Company or the maturity of the October 2012 Secured Promissory Notes. The October 2012 Secured Promissory Notes could be prepaid six months after the initial funding date or earlier if a Qualified IPO or a sale of the Company occurs. As the predominant settlement feature of the Common Stock Warrants is to settle a fixed monetary amount in a variable number of shares, the Common Stock Warrants were accounted for under ASC 480, Distinguishing Liabilities from Equity The October 2012 Secured Promissory Notes contain certain covenant requirements, which include a requirement to maintain a minimum cash balance of the lesser of the April 2012 Note indebtedness or $5,000,000. As the April 2012 Note was fully paid off in January 2013, the Company no longer has a minimum cash balance requirement under the October 2012 Secured Promissory Notes. The Company is also precluded from adding additional debt without lender approval but allowance is made if such debt is subordinated to the October 2012 Secured Promissory Notes or if such additional debt is not more than $2,000,000 in the aggregate. In the event of default on the October 2012 Secured Promissory Notes, the lenders may declare the entire unpaid principal and interest immediately due and payable. On April 10, 2013 (“Conversion Date”), the Company entered into an amendment to increase, by up to $5,000,000, the amount available under the terms of the loan agreement with respect to the October 2012 Secured Promissory Notes. Under this amendment, an additional $4,950,000 was issued in partial consideration for $3,700,000 in cash received and in partial conversion for the cancellation of $1,250,000 of the total principal balance of the October 2012 Subordinated Convertible Note described below (collectively, “April 2013 Secured Promissory Notes”). The total amount borrowed under the amended loan agreement for the October 2012 Secured Promissory Notes and the April 2013 Secured Promissory Notes increased from $7,500,000 to $12,450,000 as of the Conversion Date. The accrued interest of $74,000 for the partially converted October 2012 Subordinated Convertible Note as of the Conversion Date shall be repaid or converted on the applicable maturity date of the October 2012 Subordinated Convertible Note. In connection with the issuance of the April 2013 Secured Promissory Notes, the Company issued additional warrants (“Additional Common Stock Warrants”) to purchase a number of shares of common stock equal to 20% of the funded principal amount of the April 2013 Secured Promissory Notes divided by 70% of the value of common stock in a sale of the Company or a Qualified IPO, with such Additional Common Stock Warrants to have an exercise price of 70% of the value of common stock in a sale of the Company or a Qualified IPO. As the predominant settlement feature of the Additional Common Stock Warrants was to settle a fixed monetary amount in a variable number of shares, the Additional Common Stock Warrants were accounted for under ASC 480. Accordingly, the Additional Common Stock Warrants were recorded at estimated fair value on their issuance date and were adjusted to their estimated fair value as of each reporting date with the change in estimated fair value recorded as a component of change in estimated fair value of financial instruments in the Company’s consolidated statements of operations. The fair value of the Additional Common Stock Warrants at the date of issuance was estimated to be $465,000. The Company estimated the fair value of the Additional Common Stock Warrants using a PWERM valuation based on unobservable inputs and, therefore, the Additional Common Stock Warrants were classified as Level 3 liabilities in the fair value hierarchy. Upon closing of the IPO, the exercise price of the Additional Common Stock Warrants was determined to be $8.40 per share and the number of shares to be issued upon exercise of the warrants was no longer variable. As a result of the IPO, the Additional Common Stock Warrants were considered to be indexed to the Company’s stock, and accordingly, the common stock warrants liability was reclassified and included in stockholders’ equity (deficit) during the year ended December 31, 2013. The debt holder who converted $1,250,000 principal balance of the October 2012 Subordinated Convertible Note (with a fair value of $1,360,000 on the date of conversion) also loaned an additional $2,500,000 in cash as part of the April 2013 Secured Promissory Notes (collectively, the “$3,750,000 Notes”). The Company accounted for the conversion as an extinguishment of debt in accordance with ASC 470-50-40, Modifications and Extinguishments The following table shows the consideration received, fair values of the notes and common stock warrants issued and calculation of the gain on extinguishment of debt for the $3,750,000 Notes (in thousands): Consideration received Fair value of October 2012 Subordinated Convertible Note $ 1,360 Cash 2,500 Total consideration received (a) $ 3,860 Notes and warrants issued Principal balance of notes issued $ 3,750 Debt discount (1) (291 ) Fair value of notes issued 3,459 Fair value of Additional Common Stock Warrants issued 352 Total fair value of notes and warrants issued (b) $ 3,811 Gain on extinguishment of debt (a—b) $ 49 (1) The amortization of this account is being recorded in interest expense in the consolidated statements of operations over the term of the arrangement. The remaining fair value of the Additional Common Stock Warrants of $113,000, net of the fair value of the Additional Common Stock Warrants issued of $352,000 related to the $3,750,000 Notes discussed above, was recorded as a debt discount to the April 2013 Secured Promissory Notes and is being amortized to interest expense over the term of the arrangement. As a result of the amendment described above, the Company is also required to pay the Agent Fee, 5% of the $3,700,000 in cash received from the April 2013 Secured Promissory Notes, under the same terms as the October 2012 Secured Promissory Notes. In addition, the portion of the Agent Fee relating to the converted October 2012 Subordinated Convertible Note that would be due under the terms of the October 2012 Subordinated Convertible Note will be paid under the terms of the October 2012 and April 2013 Secured Promissory Notes. The present value of the unpaid Agent Fee of $172,000, based on 5% of the funded principal amount of $4,950,000, as of the closing date of the April 2013 Secured Promissory Notes was recorded as both deferred financing costs as a component of current and non-current other assets and non-current other liabilities. The amortization of the deferred financing costs and the accretion of the Agent Fee are being amortized to interest expense over the term of the arrangement. In addition, the Company incurred an additional $24,000 in financing-related costs, primarily legal fees. These costs were originally recorded as deferred financing costs as a component of current and non-current other assets. The balance of these deferred financing costs as of December 31, 2015 has been retrospectively reclassified as a discount to these notes as of December 31, 2015 as further discussed in Note 2. These discounts are being amortized to interest expense over the term of the arrangement. The amendment to the loan agreement also amended the interest provision applicable to the October 2012 and April 2013 Secured Promissory Notes to allow any holder of the October 2012 and April 2013 Secured Promissory Notes to request the Company to defer all interest due monthly to the applicable maturity date and the optional prepayment provision applicable to the October 2012 and April 2013 Secured Promissory Notes to allow the Company to repay the outstanding amount of the October 2012 and April 2013 Secured Promissory Notes either with the written consent of the lender or the agent on such lenders’ behalf or without such consent provided that the Company pays the interest that would have been due from the prepayment date to the initial maturity date. Activity related to the October 2012 and April 2013 Secured Promissory Notes from December 31, 2015 through December 31, 2016 consisted of the following (in thousands): DECEMBER 31, AMORTIZATION PRINCIPAL DECEMBER 31, 2015 ADDITIONS OF DEBT PAYMENTS 2016 Principal $ 12,450 $ — $ — $ — $ 12,450 Debt discount related to the issuance of common stock warrants (1) (12 ) (209 ) 18 — (203 ) Discount related to the $3,750,000 Notes (1) (36 ) (12 ) 23 — (25 ) $ 12,402 $ (221 ) $ 41 $ — $ 12,222 (1) The amortization of this account is included in interest expense in the consolidated statements of operations and as non-cash interest expense in the consolidated statements of cash flows. As of December 31, 2014, the Company was in breach of its covenants under the October 2012 and April 2013 Secured Promissory Notes as a result of its failure to provide annual financial statements in a timely manner and as the Company was in breach of certain of its covenants under its June 2014 Secured Promissory Note as described below. However, in November 2015, the Company received an extension from the lending agent with respect to compliance with the requirements to deliver annual financial statements to the earlier of (i) November 15, 2015 or (ii) such time such financial statements are filed with the SEC. The covenant breach was cured in November 2015 as a result of delivering annual financial statements within the timeline prescribed in the extension and the waiver of certain of the Company’s covenants with respect to the June 2014 Secured Promissory Note as described below. Credit Facility On June 14, 2013, the Company entered into a credit facility agreement (“June 2013 Credit Facility”) with a group of lenders that are, or that are affiliated with, existing investors in the Company. Under the June 2013 Credit Facility, the lenders have committed to permit the Company to draw an aggregate amount of up to $5,000,000, and, subject to the Company’s obtaining additional commitments from lenders, such amount may be increased to up to $7,000,000. The June 2013 Credit Facility expired on June 30, 2014 without having been drawn upon. During the term of the June 2013 Credit Facility, the Company could request from the lenders up to four advances, with each advance equal to one-quarter of each lender’s aggregate commitment amount. The Company would issue a promissory note in the principal amount of each such advance that would accrue interest at a rate of 10% per annum. The principal and all unpaid interest under the promissory notes would be due on the maturity date, and the Company could not prepay the promissory notes prior to the maturity date without consent of at least a majority in interest of the aggregate principal amount of the promissory notes then outstanding under the June 2013 Credit Facility. In connection with the June 2013 Credit Facility, the Company agreed to pay a fee of 2% of the total commitment amount to the lenders. In addition, the Company incurred an additional $10,000 in financing-related costs, primarily legal fees. These costs were recorded as deferred financing costs as a component of current other assets and were fully amortized to interest expense as of December 31, 2014. In connection with the June 2013 Credit Facility, the Company issued warrants (“June 2013 Warrants”) to purchase a number of shares of common stock equal to 10% of the total committed amount of the June 2013 Credit Facility divided by 70% of the value of common stock in a sale of the Company or a Qualified IPO, with such June 2013 Warrants to have an exercise price of 70% of the value of common stock in a sale of the Company or a Qualified IPO. The June 2013 Warrants expire upon the earlier of June 14, 2023 or the sale of the Company. As the predominant settlement feature of the June 2013 Warrants was to settle a fixed monetary amount in a variable number of shares, the June 2013 Warrants were accounted for under ASC 480. Accordingly, the June 2013 Warrants were recorded at estimated fair value on their issuance date and were adjusted to their estimated fair value as of each reporting date with the change in estimated fair value recorded as a component of change in estimated fair value of financial instruments in the Company’s consolidated statements of operations. The fair value of the June 2013 Warrants at the date of issuance of $435,000 was recorded as a deferred financing cost as a current other asset and was being amortized to interest expense over the term of the arrangement. Until the effective date of the IPO, the Company estimated the fair value of the June 2013 Warrants using a PWERM valuation based on unobservable inputs and, therefore, the June 2013 Warrants were classified as Level 3 liabilities in the fair value hierarchy. Upon closing of the IPO, the exercise price of the June 2013 Warrants was determined to be $8.40 per share and the number of shares to be issued upon exercise of the warrants was no longer variable. As a result of the IPO, the June 2013 Warrants were considered to be indexed to the Company’s stock, and accordingly, the common stock warrants liability was reclassified and included in stockholders’ equity (deficit) during the year ended December 31, 2013. Secured Promissory Note On April 11, 2014, the Company entered into a $3,000,000 promissory note with Five Star Bank. On April 14, 2014, the Company entered into an agreement with the bank to modify the terms of the promissory note from a single payment loan to a revolving line of credit, which allowed the Company to borrow up to $3,000,000. On April 28, 2014, the Company entered into an agreement to modify the terms of the revolving line of credit to increase the borrowing limit up to $5,000,000. In June 2014, the $4,687,000 balance on the revolving line of credit was paid off and the line was closed when the Company borrowed $10,000,000 pursuant to a business loan agreement and promissory note (“June 2014 Secured Promissory Note”) with the bank (“Lender”) which bears interest at prime rate (3.5% as of December 31, 2016) plus 2.00% per annum. The interest rate is subject to change from time to time to reflect changes in the prime rate; however, the interest rate shall not be less than 5.25% or more than the maximum rate allowed by applicable law. If the interest rate increases, the Lender, may, at its option, increase the amount of each monthly payment to ensure that the note would be paid in full by the maturity date, increase the amount of each monthly payment to reflect the change in interest rate, increase the number of monthly payments or keep the monthly payments the same and increase the final payment amount. The June 2014 Secured Promissory Note is repayable in monthly payments of $65,737 commencing in July 2014 and adjusted from time-to-time as interest rates change, with the final payment due in June 2036. Certain of the Company’s deposit accounts and MMM, LLC’s inventories, chattel paper, accounts, equipment and general intangibles have been pledged as collateral for the promissory note. The Company is required to maintain a deposit balance with the Lender of $1,560,000, which is recorded as restricted cash included in non-current assets. In addition, until the Company provides documentation that the proceeds were used for construction of the Company’s manufacturing plant, proceeds from the loan will be maintained in a restricted deposit account with the Lender. As of December 31, 2016, the Company had $1,444,000 remaining in this restricted deposit account, which is recorded as restricted cash included in current assets. In addition, the Company incurred an additional $304,000 in financing-related costs, including USDA guarantee fees. These costs were originally recorded as deferred financing costs as a component of current and non-current other assets. The balance of the deferred financing costs as of December 31, 2015 has been retrospectively reclassified as a discount to these notes as of December 31, 2015 as further discussed in Note 2. These discounts are being amortized to interest expense over the term of the arrangement. The Company may prepay 20% of the outstanding principal loan balance each year without penalty. A prepayment fee of 10% will be charged if prepayments exceed 20% in the first year, and the prepayment fee will decrease by 1% each year for the first ten years of the loan. The Company is required to maintain a current ratio of not less than 1.25-to-1.0, a debt-to-worth ratio of no greater than 4.0-to-1.0 and a loan-to-value ratio of no greater than 70% as determined by the Lender. The Company is also required to comply with certain affirmative and negative covenants under the loan agreement discussed above. In the event of default on the debt, the Lender may declare the entire unpaid principal and interest immediately due and payable. Effective September 30, 2015, the Company’s debt-to-worth ratio was greater than 4.0-to-1.0 as a result of the issuance of $40,000,000 in promissory notes in August 2015 as described in Note 15, which increased the Company’s debt while the Company continued to incur net losses, which decreased stockholders’ equity. However, in November 2015, the Company received a waiver from the Lender with respect to compliance with the requirements to (i) deliver annual financial statements (extended to November 15, 2015), (ii) maintain a current ratio greater than 1.25-to-1.0 (extended to December 31, 2016) and (iii) maintain a debt-to-worth ratio less than 4.0-to-1.0 (extended to December 31, 2016), and the Company subsequently received an additional waiver with respect to the requirement that we maintain a debt-to-worth ratio less than 4.0-to-1.0 (extended to December 31, 2017). The receipt of these waiver and the extension to provide financial statements under the October 2012 and April 2013 Secured Promissory Notes cured the Company’s otherwise being in breach of the covenants under the loan agreement for the year ended December 31, 2015 and 2016. |