Notes Payable | 7. Notes Payable On March 31, 2016, the Company entered into a loan and security agreement (the “Loan Agreement”) with Western Alliance Bank (“Western Bank”) and Solar Capital Ltd. (“Solar Capital,” and collectively with Western Bank, the “Lenders”) and Western Alliance, as Collateral Agent (the “Collateral Agent”). Pursuant to the terms of the Loan Agreement, the Lenders provided the Company with a loan in the principal amount of $15,000,000 of which $12,500,000 was funded on March 31, 2016 and $2,500,000 was funded on April 1, 2016, for working capital, to fund its general business requirements and to repay indebtedness of the Company to Oxford Finance LLC, Silicon Valley Bank and Horizon Technology Finance Corporation (collectively, the “Existing Lenders”) pursuant to the Loan and Security Agreement, dated as of October 18, 2011, entered into by and among the Existing Lenders and the Company (the “Oxford Loan Agreement”). On March 31, 2016, the Company used $7.2 million of the loan proceeds to repay the outstanding principal of $6.0 million, a final payment fee of $1.2 million and accrued interest of $45,000 under the Oxford Loan Agreement. The Company paid the Lenders a $0.1 million facility fee and $0.1 million in legal fees. The Company will be required to pay interest on the borrowings under the Loan Agreement at a per annum rate equal to 8.54% plus the then effective one-month U.S. LIBOR rate. Payments under the Loan Agreement are monthly in arrears and interest-only for the first 12-months. Thereafter and until the scheduled maturity date of April 1, 2020, in addition to interest accrued during such period, the monthly payments will include an amount equal to the outstanding principal divided by 36 months, unless the interest only period is extended by a further six months, in which case the amortization period will be 30 months. A final payment equal to 3.75% of the original principal amount borrowed will be due upon maturity or such earlier date specified in the Loan Agreement. If the Company repays all amounts owed under the Loan Agreement prior to the maturity date, the Company will pay a prepayment fee equal to 1.0% of the amount prepaid if the prepayment occurs after March 31, 2017 but on or prior to March 31, 2018 and 0.5% of the amount prepaid if the prepayment occurs thereafter. The facility fee and legal fees related to the debt are being accounted for as a debt discount and classified within notes payable on the Company’s balance sheet and amortized as interest expense over the term of the loan using the effective interest method. The final payment is being accreted as interest expense over the term of the loan using the effective interest method. In conjunction with the Loan Agreement, the Lenders were issued five-year warrants to purchase an aggregate of up to 208,002 shares of the Company’s common stock at a per share exercise price of $3.2454. The fair value of the warrants issued was estimated to be $0.5 million using a Black-Scholes valuation model with the following assumptions: common stock price at issuance of $3.24; exercise price of $3.2454; risk-free interest rate of 1.21% based upon observed risk-free interest rates; expected volatility of 111.96% based on the Company’s average historical volatility; expected term of five years, which is the contractual life of the warrants; and a dividend yield of 0%. The fair value was recorded as a debt discount within notes payable and an increase to additional paid-in capital on the Company’s balance sheet. The debt discount is being amortized as interest expense over the term of the Loan Agreement, using the effective interest method. Pursuant to the Loan Agreement, the Company is bound by a variety of affirmative covenants during the term of the Loan Agreement, including, without limitation, certain information delivery requirements, notice requirements and obligations to maintain certain insurance. Additionally, the Company is bound by certain negative covenants setting forth actions that are not permitted to be taken during the term of the Loan Agreement without the Lenders’ consent, including, without limitation, incurring certain additional indebtedness, making certain asset dispositions, entering into certain mergers, acquisitions or other business combination transactions or incurring any non-permitted lien or other encumbrance on the Company’s assets. Upon the occurrence of an event of default under the Loan Agreement (subject to cure periods for certain events of default), all amounts owed by the Company thereunder would begin to bear interest at a rate that is 5.0% higher than the rate that would otherwise be applicable and may be declared immediately due and payable by the Collateral Agent. Events of default under the Loan Agreement include, among other things, the following: the occurrence of certain bankruptcy events; the failure to make payments under the Loan Agreement when due; the occurrence of a material impairment on the Collateral Agent’s security interest over the collateral, a material adverse change in the business, operations or condition (financial or otherwise) of the Company or material impairment of the prospect of repayment of the obligations under the Loan Agreement; the occurrence of a default under certain other agreements entered into by the Company; the rendering of certain types of judgments against the Company; the revocation of certain government approvals of the Company; any breach by the Company of any covenant (subject to cure periods for certain covenants) made in the Loan Agreement; and the failure of any representation or warranty made by the Company in connection with the Loan Agreement to be correct in all material respects when made. The Loan Agreement defines certain events of default, including instances of a Material Adverse Change in our operations, which may require prepayment of the outstanding Term Loan. No such events have occurred or are anticipated as of March 31, 2017. The Collateral Agent, for the benefit of the Lenders, has a perfected security interest in substantially all of the Company’s property, rights and assets, except for intellectual property, to secure the payment of all amounts owed to the Lenders under the Loan Agreement. Aggregate future minimum payments due under the Loan Agreement as of March 31, 2017 were as follows (in thousands): Year ending December 31, Total 2017 $ 4,310 2018 5,893 2019 5,417 2020 2,262 Total minimum payments 17,882 Less amount representing interest (2,882 ) Total notes payable as of March 31, 2017 15,000 Less unamortized debt discount and issuance costs (487 ) Less current portion of notes payable (4,583 ) Non-current portion of notes payable $ 9,930 |