XML 21 R7.htm IDEA: XBRL DOCUMENT v3.20.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2020
Sep. 30, 2019
Operating activities    
Net income (loss) $ (59,773) $ (115,844)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 3,166 7,838
Amortization of right-of-use assets 1,906 2,742
Gain on disposal of property and equipment and from lease termination (76)  
Amortization of premium (accretion of discounts) on marketable securities 193 (1,293)
Realized gain on available-for-sale securities (56)  
Change in fair value of warrant liability (4,200) 234
Stock compensation expense 9,968 20,267
Cost of sales - amortization of intangible assets 2,500 6,894
Non-cash interest expense 2,129 3,533
Tenant improvements provided by the landlord 908 6,639
Gain on sale of assets (6,851)  
Changes in operating assets and liabilities:    
Accounts and other receivables, net (22,137) (5,118)
Inventories, net (17,701) (20,334)
Prepaid expenses and other current assets (11,406) 391
Other assets 106 1,467
Accounts payable (1,433) 3,035
Lease liabilities (2,131) (1,340)
Deferred revenue 21,712  
Accrued liabilities and other liabilities 6,668 (7,351)
Net cash used in operating activities (76,508) (98,240)
Investing activities    
Acquisition of technology licenses (7,000) (7,000)
Purchases of marketable securities (171,982) (181,148)
Proceeds from maturities and redemptions of marketable securities 117,650 141,085
Proceeds from sales of marketable securities 20,902  
Purchases of property and equipment, net (3,303) (20,570)
Proceeds from sale of assets, net of transaction costs 2,859  
Net cash used in investing activities (40,874) (67,633)
Financing activities    
Proceeds from long-term debt, net   74,250
Proceeds from issuance of common stock, net 108,537 65,948
Proceeds from issuance of preferred stock, net   13,586
Proceeds from exercise of stock options and restricted stock awards, net 224 2
Proceeds from Employee Stock Purchase Plan 672 565
Net cash provided by financing activities 109,433 154,351
Effect of exchange rate changes on cash, cash equivalents and restricted cash 763 (529)
Net decrease in cash, cash equivalents and restricted cash (7,186) (12,051)
Cash, cash equivalents and restricted cash at beginning of period 40,100 49,967
Cash, cash equivalents and restricted cash at end of period 32,914 37,916
Supplemental disclosure of cash flow information    
Cash paid during the period for interest 12,149 8,715
Non-cash investing and financing activities:    
Purchases of property and equipment, not yet paid $ 364 3,135
Proceeds allocated to warrant liability at issuance   7,360
Right-of-use assets obtained in exchange for operating lease liabilities   $ 39,104