XML 48 R6.htm IDEA: XBRL DOCUMENT v3.20.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Operating activities    
Net loss $ (35,372) $ (34,091)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 1,826 1,920
Inventory excess adjustments (64) 101
Premium amortization and discount accretion on investment securities 721 70
Stock-based compensation 7,417 4,051
Non-cash lease expense 1,940 1,890
Amortization of debt discount 121 98
Other non-cash charges   8
Other non-cash (benefits) (57)  
Provision for credit losses 1,387  
Changes in operating assets and liabilities    
Accounts receivable (8,786) 2,145
Inventory (1,703) (216)
Prepaid expenses and other current assets (3,227) (2,135)
Other assets 99 201
Accounts payable 217 (5,466)
Accrued compensation (135) (1,850)
Other accrued liabilities 3,348 1,018
Deferred revenue (2,832) 437
Net cash used in operating activities (35,100) (31,819)
Investing activities    
Purchases of investments (53,876) (18,628)
Proceeds from sale of investments 11,500  
Proceeds from maturity of investments 93,785 32,500
Purchases of property and equipment, net (7,917) (955)
Net cash provided by investing activities 43,492 12,917
Financing activities    
Proceeds from exercise of stock options 3,826 2,578
Net cash provided by financing activities 3,826 2,578
Net (decrease) increase in cash, cash equivalents and restricted cash 12,218 (16,324)
Cash, cash equivalents and restricted cash, beginning of period 61,981 51,004
Cash, cash equivalents and restricted cash, end of period 74,199 34,680
Supplemental non-cash investing and financing activities:    
Obtaining right-of-use assets in exchange for lease liabilities   28,191
Purchases of property and equipment in accounts payable and accruals $ 2,657 $ 199