XML 21 R5.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Operating activities:      
Net loss $ (65,782) $ (55,144) $ (43,019)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation, amortization, and impairment 704 483 180
(Gain) loss on disposal of property and equipment (12) 17
Stock-based compensation expense 12,621 8,487 9,705
Amortization of debt issuance costs 876 558 439
Amortization of premium/discount on investments 157 523 570
Change in fair value of foreign currency derivative 966 (811) 564
Changes in operating assets and liabilities:      
Receivables 2,651 (2,525) 3,247
Inventory 500 1,112 (929)
Prepaid expenses and other assets 877 3,702 637
Deferred collaboration expense 74 71 (102)
Accounts payable and accrued expenses 3,842 (10,524) 13,676
Interest payable 3,105 2,244 717
Deferred revenue (1,722) (1,631) 1,199
Net cash used in operating activities: (41,143) (53,438) (13,116)
Investing activities:      
Acquisition of property and equipment (328) (5,277) (5,122)
Proceeds from sale of property and equipment 12 4
Change in restricted cash (1,740) 66 (1,462)
Purchases of investments (107,787) (14,106) (53,830)
Sales and maturities of investments 43,461 42,652 42,410
Net cash (used in) provided by investing activities: (66,382) 23,339 (18,004)
Financing activities:      
Sale of common stock, net 134,000
Net proceeds from common stock issued under stock-based compensation plans 1,581 317 5,479
Proceeds from senior credit facility 22,658
Increase in lease financing obligation 122 329
Net cash provided by financing activities: 135,703 23,304 5,479
Increase (decrease) in cash and cash equivalents 28,178 (6,795) (25,641)
Cash and cash equivalents at beginning of year 22,104 28,899 54,540
Cash and cash equivalents at end of year $ 50,282 $ 22,104 $ 28,899