Long-Term Debt
9 Months Ended
Sep. 30, 2016
Debt Disclosure [Abstract]  
Long-term Debt

12.   Long-term Debt

 

On September 30, 2015, the Company entered into the Loan Agreement with Hercules and certain other lenders, and Hercules Technology Growth Capital, Inc.  Under the Loan Agreement, Hercules will provide the Company with access to term loans with an aggregate principal amount of up to $40.0 million, or the Term Loan. The Company initially drew a principal amount of $20.0 million, which was funded on September 30, 2015. The remaining $20.0 million available under the Loan Agreement can be drawn at the Company’s option in minimum increments of $10.0 million through December 31, 2016, or the Draw Period. The Term Loan is repayable in monthly installments commencing on April 1, 2018 through maturity on September 1, 2020. The interest rate is equal to the greater of (i) 8.5%, or (ii) the sum of 8.5%, plus the “prime rate” as reported in The Wall Street Journal minus 5.75% per annum. An end of term charge equal to 4.5% of the issued principal balance of the Term Loan is payable at maturity, including in the event of any prepayment, and is being accrued as interest expense over the term of the loan using the effective interest method. Borrowings under the Loan Agreement are collateralized by substantially all of the assets of the Company.

If the Company repays all or a portion of the Term Loan prior to maturity, in addition to the end of term charge, the Company will pay Hercules a prepayment fee as follows: (i) 2.0% of the then outstanding principal amount if the prepayment occurs prior to April 1, 2018 or (ii) no fee if the prepayment occurs on or after April 1, 2018.

Upon an “Event of Default”, an additional 5.0% interest will be applied and Hercules may, at its option, accelerate and demand payment of all or any part of the loan together with the prepayment and end of term charges. An Event of Default is defined in the Loan Agreement as (i) failure to make required payments; (ii) failure to adhere to financial, operating and reporting loan covenants; (iii) an event or development occurs that would be reasonably expected to have a  material adverse effect; (iv) false representations in the Loan Agreement; v) insolvency, as described in the Loan Agreement; (vi) levy or attachments on any of the Company's assets; and (vii) default of any other agreement or subordinated debt greater than $1.0 million. In the event of insolvency, this acceleration and declaration would be automatic. In addition, in connection with the Loan Agreement, the Company agreed to provide Hercules with a contingent security interest in the Company's bank accounts. The Company's control of its bank accounts is not adversely affected unless Hercules elects to obtain unilateral control of the Company's bank accounts by declaring that an Event of Default has occurred. The principal of the Term Loan, which is not due within 12 months of September 30, 2016, has been classified as long-term as the Company determined that a material adverse effect resulting in Hercules exercising its rights under the subjective acceleration clause is remote.

Subject to certain terms, pursuant to the Loan Agreement, Hercules was also granted the right to participate in an amount of up to $2.0 million in subsequent sales and issuances of the Company's equity securities to one or more investors for cash for financing purposes in an offering that is broadly marketed to multiple investors and at the same terms as the other investors. On September 30, 2015, Hercules Technology Growth Capital, Inc. entered into a Stock Purchase Agreement with the Company to purchase 44,782 shares of common stock resulting in proceeds to the Company of approximately $1.0 million.  The excess of proceeds received by the Company over the fair value of the common stock issued was allocated as a reduction of the fees paid to Hercules in conjunction with obtaining the initial $20.0 million draw of the Term Loan.

 

Debt issuance costs of $511,000 have been ratably allocated to the initial $20.0 million draw and the remaining unfunded $20.0 million. Debt issuance costs related to the initial $20.0 million draw are presented on the consolidated balance sheet as a direct deduction from the related debt liability rather than capitalized as an asset in accordance with the Company’s early adoption of ASU No. 2015-03, Interest - Imputation of Interest (Subtopic 835-30): Simplifying the Presentation of Debt Issuance Costs. Issuance costs related to the unfunded amount have been capitalized as prepaid asset and are being amortized ratably through the end of the Draw Period.  In the event the Company exercises its option to borrow additional funds, the remaining unamortized prepaid asset balance would be reclassified and recorded as a deduction from the face amount of the funds borrowed based upon a ratable allocation of the amount drawn compared to the remaining unfunded amount available to the Company and will be amortized over the remaining life of the term loan using the effective interest method.

 

In connection with the Loan Agreement, the Company issued to each of Hercules Technology II, L.P. and Hercules Technology III, L.P., a warrant to purchase 16,346 shares of the Company’s common stock (32,692 shares of common stock in total) at an exercise price of $24.47 per share. The Hercules Warrants’ total relative fair value of $288,000 at September 30, 2015 was determined using a Black-Scholes option-pricing model. The relative fair value of the Hercules Warrants was included as a discount to the Term Loan and also as a component of additional paid-in capital.  

 

In addition to the Hercules Warrants, the Company paid fees to Hercules in conjunction with obtaining the Term Loan. The Hercules Warrants fair value and fees paid to Hercules, an aggregate of $572,000, were ratably allocated to the initial $20.0 million draw and the remaining unfunded $20.0 million. The $208,000 of costs allocated to the initial $20.0 million draw were recorded as a debt discount and are being amortized as additional interest expense over the term of the loan using the effective interest method. The $364,000 of costs allocated to the unfunded $20.0 million was recorded as prepaid expenses and are being amortized ratably through the end of the Draw Period. In the event the Company exercises its option to borrow additional funds, the remaining unamortized prepaid asset balance related would be reclassified and recorded as debt discount based upon a ratable allocation of the amount drawn compared to the remaining unfunded amount available to the Company and will be amortized over the remaining life of the term loan using the effective interest method.

 

As of September 30, 2016, the Company has recorded a long-term debt obligation of $19.7 million, net of debt discount of $0.3 million and prepaid expenses of $0.1 million.

Future principal payments, which exclude the 4.5% end of term charge, in connection with the Loan Agreement, as of September 30, 2016 are as follows (in thousands):

Fiscal Year

 

 

 

 

2016

 

$

 

2017

 

 

 

2018

 

 

5,540

 

2019

 

 

7,973

 

2020 and thereafter

 

 

6,487

 

Total

 

$

20,000