Long-term Debt | 13. Long-term Debt Loan Agreement On September 30, 2015, the Company entered into the Hercules Loan Agreement with Hercules and certain other lenders, and Hercules Technology Growth Capital, Inc. (as agent). Under the Hercules Loan Agreement, Hercules provided the Company with access to term loans with an aggregate principal amount of up to $40.0 million, or collectively, 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 under the Hercules Loan Agreement was available to 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 was repayable in monthly installments commencing on April 1, 2018 through maturity on September 1, 2020. The interest rate was 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 was payable at maturity, including in the event of any prepayment, and was being accrued as interest expense over the term of the loan using the effective interest method. Borrowings under the Hercules Loan Agreement were collateralized by substantially all of the assets of the Company. Upon an Event of Default, an additional 5.0% interest would be applied and Hercules could, 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 Hercules 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 Hercules Loan Agreement; (v) insolvency, as described in the Hercules 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 Hercules 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 was not due within 12 months of March 31, 2018 has been classified as long-term debt 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 Hercules 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 were 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 were presented on the consolidated balance sheet as a direct deduction from the related debt liability. Issuance costs related to the unfunded amount were capitalized as prepaid asset and were to be amortized ratably through the end of the Draw Period. In connection with the Hercules 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. See Note 9, Capital Stock 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 were being amortized ratably through the end of the Draw Period. In the event the Company exercised 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 would amortize over the remaining life of the term loan using the effective interest method. On December 12, 2016, the Company and Hercules entered into a second amendment to the Hercules Loan Agreement, or the Second Amendment, which extended the date on which the Company must begin making amortization payments under the Hercules Loan Agreement from April 1, 2018 to January 1, 2019, or the Amortization Date. Upon commencement of the Amortization Date, the Company will make amortization payments based upon an amortization schedule equal to thirty consecutive months, with the balance of outstanding loans due on the original maturity date of the Hercules Loan Agreement. The Second Amendment also increased the amount that the Company may borrow by $10.0 million, from up to $40.0 million to up to $50.0 million in multiple tranches. In connection with the Second Amendment the Company paid Hercules a $0.4 million amendment fee. In connection with the Second Amendment, the Company issued to each one of Hercules Technology II, L.P. and Hercules Technology III, L.P. a warrant to purchase 18,574 shares of its common stock (37,148 shares of common stock in total) at an exercise price of $13.46 per shares. Under the Second Amendment the end of term charge was equal to 4.5% of the issued principal balance of the Hercules Loan Agreement, and was 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 Hercules Loan Agreement are still collateralized by substantially all of the assets of the Company. On June 27, 2017, the Company and Hercules entered into a third amendment to the Hercules Loan Agreement, or the Third Amendment. The Third Amendment increased the amount that the Company may borrow by $10.0 million, from up to $50.0 million to up to $60.0 million, in multiple tranches. The additional $10.0 million tranche, or the Fourth Tranche, was available at the Company’s option through December 15, 2017. The Fourth Tranche shall bear interest and have the same maturity as all other loans outstanding under the Hercules Loan Agreement, as amended. The Company borrowed the first tranche of $20.0 million upon the closing of the Hercules Loan Agreement on September 30, 2015, and the second tranche of $20.0 million on December 12, 2016, or collectively, the Initial Tranches. Concurrently with the closing of the Third Amendment, the Company borrowed a third tranche of $10.0 million, or the Third Tranche. The Third Amendment extended the date on which the Company is required to begin making monthly principal installments under the Hercules Loan Agreement from January 1, 2019 to January 1, 2020, subject to the Company’s receipt of marketing approval for the Company’s lead product candidate, omadacycline, or the Interest Only Period Extension Event. Beginning on January 1, 2019, or, if the Company achieves the Interest Only Period Extension Event, beginning on January 1, 2020, the Company will make payments in equal monthly installments of principal and interest, with the balance of outstanding loans due on the original maturity date of the Hercules Loan Agreement. In connection with the Third Amendment, the Company paid Hercules a $0.1 million amendment fee. The Third Amendment reduced the end of term charge due with respect to the Third Tranche from to 4.5% to 2.25% if the obligations under the Hercules Loan Agreement were repaid in full on or prior to September 30, 2017, following Hercules’ election not to consent to a proposed third-party, non-equity financing arrangement (excluding any stock issuance). The end of term charge with respect to the Fourth Tranche is 2.25%. If the Company prepays the loan prior to maturity, it will pay a prepayment charge, based on a percentage of the then outstanding principal balance, equal to (i) 1% with respect to the Third Tranche and the Fourth Tranche or (ii) 2% with respect to the Initial Tranches if the prepayment occurs prior to April 1, 2019, or equal to 0% if the prepayment occurs on or after April 1, 2019. In connection with the borrowing of the Third Tranche, on June 27, 2017, the Company issued an additional warrant to Hercules Capital, Inc. that is exercisable for an aggregate of 5,374 shares of common stock at an exercise price of $23.26 per share. The Additional Warrant may be exercised on a cashless basis. The Additional Warrant is exercisable for a term beginning on the date of issuance and ending on the earlier to occur of five years from the date of issuance or the consummation of certain acquisitions of the Company as set forth in the Additional Warrant. In connection with the offering of the Notes, discussed below, on April 17, 2018, the Company entered into Amendment No. 4, or the Fourth Amendment, to the Hercules Loan Agreement. The Fourth Amendment increases the amount of permitted indebtedness to an amount not to exceed $2.0 million and permits the Company to issue convertible notes in an aggregate principal amount of not more than $172.5 million provided that such convertible notes meet certain stipulations. As of March 31, 2018, the Company has recorded a current portion of long-term debt obligation of $7.6 million, net of debt discount of $0.4 million, and a long-term debt obligation of $51.7 million, net of debt discount of $0.3 million. Future principal payments, which exclude the end of term charge in connection with the Hercules Loan Agreement, as amended, as of March 31, 2018, are as follows (in thousands): Fiscal Year 2018 $ — 2019 33,140 2020 26,860 2021 — 2022 and Thereafter — Total $ 60,000 Convertible Senior Subordinated Notes On April 18, 2018, the Company entered into a Purchase Agreement, or the Purchase Agreement, with the several initial purchasers, or the Initial Purchasers, for whom Merrill Lynch, Pierce, Fenner & Smith Incorporated The Purchase Agreement includes customary representations, warranties and covenants. Under the terms of the Purchase Agreement, the Company has agreed to indemnify the Initial Purchasers against certain liabilities. In addition, J. Wood Capital Advisors LLC, the Company’s financial advisor, purchased $5.0 million aggregate principal amount of Notes in a separate, concurrent private placement on the same terms as other investors. The Notes were issued by the Company on April 23, 2018, pursuant to an Indenture, dated as of such date, or the Indenture, between the Company and U.S. Bank National Association, as trustee, or the Trustee. The Notes bear cash interest at the annual rate of 4.75%, payable on November 1 and May 1 of each year, beginning on November 1, 2018, and mature on May 1, 2024 unless earlier repurchased, redeemed or converted. The Company will settle conversions of the Notes through delivery of shares of common stock of the Company, in accordance with the terms of the Indenture. The initial conversion rate for the Notes is 62.8931 shares of common stock (subject to adjustment as provided for in the Indenture) per $1,000 principal amount of the Notes, which is equal to an initial conversion price of approximately $15.90 per share, representing a conversion premium of approximately 20% above the closing price of the common stock of $13.25 per share on April 18, 2018. Holders of the Notes may convert all or any portion of their Notes, in multiples of $1,000 principal amount, at their option at any time prior to the close of business on the second scheduled trading day immediately preceding the stated maturity date. The Company may not redeem the Notes prior to May 6, 2021. The Company may redeem for cash all or part of the Notes, at its option, on or after May 6, 2021 if the last reported sale price of the Company’s common stock has been at least 130% of the conversion price then in effect for at least 20 trading days (whether or not consecutive) during any 30 consecutive trading day period (including the last trading day of such period) ending on, and including, the trading day immediately preceding the date on which the Company provides notice of redemption at a redemption price equal to 100% of the principal amount of the Notes to be redeemed, plus accrued and unpaid interest to, but excluding, the redemption date. If the Company experiences a fundamental change, as described in the Indenture, prior to the maturity date of the Notes, holders of the Notes will, subject to specified conditions, have the right, at their option, to require the Company to repurchase for cash all or a portion of their Notes at a repurchase price equal to 100% of the principal amount of the Notes to be repurchased, plus accrued and unpaid interest, if any, to, but not including, the fundamental change repurchase date. In addition, following certain corporate events that occur prior to the maturity date of the Notes and following a notice of redemption of the notes, the Company will increase the conversion rate for a holder who elects to convert its Notes in connection with such corporate event or redemption. The Indenture provides for customary events of default. In the case of an event of default with respect to the Notes arising from specified events of bankruptcy or insolvency, all outstanding Notes will become due and payable immediately without further action or notice. If any other event of default with respect to the Notes under the Indenture occurs or is continuing, the Trustee or holders of at least 25% in aggregate principal amount of the then outstanding Notes may declare the principal amount of the Notes to be immediately due and payable. In certain circumstances if, at any time during the six-month period beginning on, and including, the date that is six months after the last date of original issuance of the Notes, the Company fails to timely file certain documents or reports required under the Securities Exchange Act of 1934, as amended, or the Notes are not otherwise freely tradable by holders of the Notes other than the Company’s affiliates or holders that were the Company’s affiliates at any time during the three months immediately preceding, additional interest will accrue on the Notes during the first 90-day period in which its failure to file has occurred and is continuing or such Notes are not otherwise freely tradable by holders other than the Company’s affiliates (or holders that were the Company’s affiliates at any time during the three months immediately preceding). In addition, if, and for so long as, the restrictive legend on the Notes has not been removed, the Notes are assigned a restricted CUSIP number or the Notes are not otherwise freely tradable by holders other than the Company’s affiliates or holders that were our affiliates at any time during the three months immediately preceding (without restrictions pursuant to U.S. securities laws or the terms of the Indenture or the Notes) as of the 380th day after the last date of original issuance of the Notes, the Company will pay additional interest on the Notes outstanding during the period in which the Notes remain so restricted. The Company received net proceeds of $158.8 million after deducting commissions, fees and other offering expenses of $6.2 million. |