XML 74 R15.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Debt
12 Months Ended
Dec. 31, 2019
Debt Disclosure [Abstract]  
Debt Debt
Pharmakon Loan Agreement
In December 2015, the Company entered into a Loan Agreement with Biopharma Secured Investments III Holdings Cayman LP (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 taken.
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 was added to the then outstanding principal.
In December 2015, the Company used the proceeds from the Pharmakon Loan Agreement to repay $4.9 million of bank debt to Silicon Valley Bank ("SVB"). The issuance costs and debt discount have been netted against the borrowed funds on the balance sheet.

On October 23, 2018, the Company repaid the principal amount of the Tranche A Loan of $30.0 million and related accrued interest of $3.3 million, using proceeds from the Third Amended and Restated SVB Loan Agreement noted below. The Company incurred a $3.0 million loss in connection with the early extinguishment of the Pharmakon Loan Agreement which included a prepayment premium fee of $1.0 million and additional consideration related to the prepayment of $1.5 million.
Bank Debt
In December 2015, the Company entered into a Second Amended and Restated Loan and Security Agreement with SVB, (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 Loan
Agreement 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%. 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 Loan Agreement in connection with a lease for its San Francisco office.
In October 2018, the Company entered into the Third Amended and Restated Loan and Security Agreement with SVB (“Third Amended and Restated SVB Loan Agreement”).
Pursuant to the Third Amended and Restated SVB Loan Agreement, the Company obtained a term loan (“SVB Term Loan”) for $35.0 million. Total proceeds from the SVB Term Loan were used to pay off the loan agreement with Biopharma Secured Investments III Holdings Cayman LP (“Pharmakon”), totaling $35.8 million. The Company will make interest-only payments through October 31, 2020, followed by 36 monthly payments of principal plus interest on the SVB Term Loan. Interest charged on the SVB Term Loan will be the greater of (a) a floating rate based on the “Prime Rate” published by The Wall Street Journal minus 0.75%, or (b) 4.25%. The weighted average interest rate was 4.58% and 4.50% for the years ended December 31, 2019 and 2018, respectively.
Under the Third Amended and Restated 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 $25.0 million, which includes an $11.0 million standby letter of credit sublimit availability. In October 2018, a $6.9 million standby letter of credit was obtained in connection with a lease for the Company’s San Francisco headquarters. Any principal amount outstanding under the Third Amended and Restated SVB Loan Agreement revolving credit line shall bear interest at an amount that is the greater of (a) a floating rate per annum equal to the rate published by The Wall Street Journal as the “Prime Rate” or (b) 5.00%. The Company may borrow up to 75% of eligible accounts receivable, up to the maximum of $25.0 million. As of December 31, 2019, the Company was eligible to borrow up to $5.6 million and no amount was outstanding under the revolving credit line.
The Third Amended and Restated Loan Agreement requires the Company to maintain a minimum consolidated liquidity ratio or minimum adjusted Earnings Before Interest, Tax, Depreciation, and Amortization during the term of the loan facility. In addition, the SVB Loan Agreement contains customary affirmative and negative covenants and events of default. The SVB Loan Agreement also includes financial covenants requiring the Company to maintain a minimum liquidity ratio and asset based threshold. The Company was in compliance with financial loan covenants as of December 31, 2019. The obligations under the Third Amended and Restated Loan Agreement are collateralized by substantially all assets of the Company.
California HealthCare Foundation Note

In November 2012, the Company entered into a Note Purchase Agreement and Promissory Note with the California HealthCare Foundation (the “CHCF Note”), through which the Company borrowed $1.5 million. The CHCF Note accrued 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. The CHCF Note was subordinate to other debt. In May 2018, the Company repaid the principal amount of $1.5 million and related $0.2 million in accrued interest on the CHCF Note.
Future minimum payments

Future minimum payments under the Third Amended and Restated Loan and Security Agreement with Silicon Valley Bank at December 31, 2019 are as follows (in thousands):

Year Ending December 31,
2020$3,449  
202112,860  
202212,358  
20239,914  
Total38,581  
Less: Amount representing interest(3,581) 
Less: Debt Issuance Costs(67) 
Total Carrying Value$34,933  
Reported as:
Short-term debt$1,944  
Long-term debt32,989  
Total $34,933