XML 25 R14.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Debt | 9 Months Ended
--- | ---
Sep. 30, 2017
Debt Disclosure [Abstract] |
Debt | 8. Debt Pharmakon Loan Agreement In December 2015, the Company entered into the Loan Agreement with Biopharma Secured Investments III Holdings Cayman LP, or Pharmakon (the “Pharmakon Loan Agreement”). The Pharmakon Loan Agreement provides for up to $55.0 million in term loans split into two tranches as follows: (i) the Tranche A Loans are $30.0 million in term loans, and (ii) the Tranche B Loans are up to $25.0 million in term loans. The Tranche A Loans were drawn on December 4, 2015. The Tranche B Loans were available to be drawn prior to December 4, 2016. No additional draw was made. During the first full eight quarters, payments are interest only and for the first two years, 50% of the interest will be “paid-in-kind.” The Company is subject to a financial covenant related to minimum trailing revenue targets that begins in June 2017, and is tested on a semi-annual basis. The minimum net revenue covenant ranges from $44.7 million for the period ended June 30, 2017 to $102.6 million for the period ended December 31, 2021. To date all minimum revenue targets have been achieved. The minimum net revenues financial covenant has a 45-day equity cure period following required delivery date of the financial statements. Pursuant to this equity cure provision, the Company may cure a revenue covenant default by raising additional funds from the sale of equity. The Company was in compliance with loan covenants as of September 30, 2017. The loan matures December 2021. The Tranche A Loans bear interest at a fixed rate equal to 9.50% per annum that is due and payable quarterly in arrears. During the first eight calendar quarters, 50% of the interest due and payable shall be added to the then outstanding principal. The Pharmakon Loan Agreement requires the Company to maintain a minimum consolidated liquidity and minimum net revenue during the term of the loan facility and contains customary affirmative and negative covenants and event of default provisions that could result in the acceleration of the repayment obligations under the loan facility. Upon a change in control of the Company, Pharmakon has the option to demand payment in full of the outstanding loans together with any prepayment premium. The obligations under the Pharmakon Loan Agreement are secured by a security interest in substantially all of the Company’s assets pursuant to the Pharmakon Guaranty and Security Agreement and this security interest is governed by an intercreditor agreement between Pharmakon and Silicon Valley Bank (“SVB”). In December 2015, the Company used the proceeds from the Pharmakon Loan Agreement to repay $4.9 million of bank debt to SVB. The issuance costs and debt discount have been netted against the borrowed funds on the balance sheet. The debt balance as of September 30, 2017 and December 31, 2016 was $32.1 million and $30.8 million, respectively. Bank Debt In June 2014, the Company refinanced its debt with SVB by entering into the Second Amendment to the Amended and Restated Loan Security Agreement (“Second Amendment”). Under this amendment, the Company borrowed $4.9 million with an additional advance of $5.0 million available. All the borrowings under the Second Amended Loan Agreement were collateralized by all of the Company’s assets, excluding intellectual property. In connection with entering into the Amended Loan Agreement, the Company issued warrants to purchase 20,136 shares of Series D at $7.31 per share that expire in June 2024 (See Note 11). In December 2015, the Company used the proceeds from the Pharmakon Loan Agreement to repay $4.9 million of bank debt to SVB and entered into a Second Amended and Restated Loan and Security Agreement with SVB, or the SVB Loan Agreement. Under the SVB Loan Agreement the Company may borrow, repay and reborrow under a revolving credit line, but not in excess of the maximum loan amount of $15.0 million, until December 4, 2018, when all outstanding principal and accrued interest becomes due and payable. Any principal amount outstanding under the SVB revolving credit line shall bear interest at a floating rate per annum equal to the rate published by The Wall Street Journal as the “Prime Rate” plus 0.25%, are tied to the Company’s trailing six-month revenue and subject to certain revenue targets. The Company may borrow up to 80% of its eligible accounts receivable, up to the maximum of $15.0 million. In August 2016, the Company obtained a $3.1 million standby letter of credit pursuant to the SVB revolving credit facility in connection with a lease for the San Francisco office. As of September 30, 2017 and December 31, 2016, the Company was eligible to borrow up to $7.7 million and $2.5 million, respectively, under the SVB revolving credit line. The SVB Loan Agreement requires the Company to maintain a minimum consolidated liquidity and minimum net sales during the term of the loan facility. In addition, the SVB Loan Agreement contains customary affirmative and negative covenants and events of default. The Company was in compliance with loan covenants as of September 30, 2017. The obligations under the SVB Loan Agreement are collaterialized by substantially all assets of the Company and this security interest is governed by an intercreditor agreement between Pharmakon and SVB. California HealthCare Foundation Note In November 2012, the Company entered into a Note Purchase Agreement and Promissory Note with the California HealthCare Foundation, or the CHCF Note, through which the Company borrowed $1.5 million. The CHCF Note accrues simple interest of 2.0%. The accrued interest and the principal was to mature in November 2016. In partial consideration for the issuance of the CHCF Note, the Company issued warrants to purchase 22,807 shares of the Company’s Series D convertible preferred stock. In June 2015, the Company amended the CHCF Note to extend the maturity date to May 2018. In partial consideration for the amendment, the Company issued 8,552 warrants at $6.58 exercise price per share of the Company’s Series D convertible preferred stock. The CHCF note is subordinate to other debt. The debt balance, net of debt discount, as of September 30, 2017 and December 31, 2016 was $1.6 million and $1.5 million, respectively.

X
- References No definition available. + Details
Name: | us-gaap_DebtDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -URI http://asc.fasb.org/topic&trid=2208564 + Details
Name: | us-gaap_DebtDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration