XML 21 R8.htm IDEA: XBRL DOCUMENT v3.21.1
Condensed Consolidated Statement of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Operating activities    
Net loss $ (71,755) $ (78,348)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 2,723 2,868
Amortization of finance lease right-of-use assets 2,616 2,594
Net accretion of premium and discount on investments 131 (143)
Unrealized loss on equity investments 0 21
Investment loss in unconsolidated variable interest entity 240 0
Stock-based compensation 19,384 16,916
Tax benefit on unrealized gain on available-for-sale securities 0 (439)
Realized loss on sales of available-for-sale securities 0 258
Changes in operating assets and liabilities:    
Accounts receivable, net 1,336 (30,085)
Inventories (4,288) (1,521)
Prepaid expenses and other current assets (5,457) (637)
Other assets (5,621) 761
Accounts payable (669) (3,223)
Accrued and other liabilities 252 (41,224)
Deferred revenue 17,196 47,996
Accrued interest for finance lease liabilities (29) (216)
Other long-term liabilities (1,043) 24,936
Net cash used in operating activities (44,984) (59,486)
Investing activities    
Purchases of property and equipment (518) (459)
Purchases of available-for-sale securities (196,243) (38)
Proceeds from sales of available-for-sale securities 0 10,606
Proceeds from maturities of investments 42 45,900
Net cash provided by (used in) investing activities (196,719) 56,009
Financing activities    
Repayments of finance lease liabilities (3,299) (2,814)
Repayments of lease obligations (101) (101)
Cash paid for payroll taxes on restricted stock unit releases (4,757) (5,279)
Proceeds from issuance of common stock 6,077 7,004
Net cash used in financing activities (2,080) (1,190)
Effect of exchange rate change on cash and cash equivalents (1,102) (39)
Net decrease in cash and cash equivalents (244,885) (4,706)
Total cash and cash equivalents at beginning of period 678,393 126,266
Total cash and cash equivalents at end of period $ 433,508 $ 121,560