XML 19 R5.htm IDEA: XBRL DOCUMENT v3.20.2
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Operating activities    
Net loss $ (76,206) $ (68,683)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 401 357
Stock-based compensation expense 6,034 8,702
Amortization of debt issuance costs 681 596
Amortization of premium/discount on investments 104 (17)
Change in fair value of foreign currency derivative 590 646
Changes in operating assets and liabilities:    
Receivables 18,149 691
Inventory (5,233) 649
Prepaid expenses and other assets 817 84
Accounts payable and accrued expenses (1,156) 2,579
Interest payable 2,902 2,897
Deferred revenue (1,405) 0
Net cash used in operating activities (54,322) (51,499)
Investing activities    
Acquisitions of property and equipment (187) (180)
Purchases of investments (15,438) (3,018)
Sales and maturities of investments 21,417 41,357
Net cash provided by investing activities 5,792 38,159
Financing activities    
Sale of common stock, net 92,848 0
Sale of pre-funded warrants 14,817 0
Proceeds from senior credit facility 0 19,477
Net proceeds from common stock issued under stock-based compensation plans 798 977
Net cash provided by (used in) financing activities 108,463 20,454
Increase in cash, cash equivalents and restricted cash 59,933 7,114
Cash, cash equivalents and restricted cash at beginning of period 115,723 28,275
Cash, cash equivalents and restricted cash at end of period $ 175,656 $ 35,389