XML 60 R5.htm IDEA: XBRL DOCUMENT v3.20.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Operating activities:      
Net loss $ (108,897) $ (101,252) $ (65,782)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 724 770 704
Loss (gain) on disposal of property and equipment 7 (12)
Stock-based compensation expense 17,719 9,396 12,621
Amortization of debt issuance costs 1,278 885 876
Amortization of premium/discount on investments 117 110 157
Change in fair value of foreign currency derivative 347 1,049 966
Changes in operating assets and liabilities:      
Receivables (17,853) 1,824 2,651
Inventory 1,649 (1,649) 500
Prepaid expenses and other assets (1,364) (866) 951
Accounts payable and accrued expenses 11,741 4,487 3,842
Interest payable 3,056 (247) 3,105
Deferred revenue 1,899 (7,079) (1,722)
Net cash used in operating activities: (89,584) (92,565) (41,143)
Investing activities:      
Acquisition of property and equipment (343) (366) (328)
Proceeds from sale of property and equipment 12
Purchases of investments (3,018) (62,614) (107,787)
Sales and maturities of investments 81,295 67,748 43,461
Net cash provided by (used in) investing activities: 77,934 4,768 (64,642)
Financing activities:      
Sale of common stock, net 58,500 53,400 134,000
Sale of pre-funded warrants 19,882
Net proceeds from common stock issued under stock-based compensation plans 1,239 2,852 1,581
Proceeds from senior credit facility 19,477 10,353
Payment of senior credit facility (4,025)
(Decrease) increase in lease financing obligation (76) 122
Net cash provided by financing activities: 99,098 62,504 135,703
Increase (decrease) in cash, cash equivalents and restricted cash 87,448 (25,293) 29,918
Cash, cash equivalents and restricted cash at beginning of year 28,275 53,568 23,650
Cash, cash equivalents and restricted cash at end of year $ 115,723 $ 28,275 $ 53,568