XML 25 R8.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statement of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Operating activities    
Net loss $ (205,743) $ (163,661)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 5,242 5,737
Amortization of finance lease right-of-use assets 4,393 5,247
Net accretion of premium and discount on investments 767 (22)
Unrealized loss on equity investments 4 15
Investment loss in unconsolidated variable interest entity (323) 0
Loss (gain) on disposal of property and equipment 13 0
Stock-based compensation 38,385 34,560
Expense for acquired in-process research and development asset 25,000 0
Tax benefit on unrealized gain on available-for-sale securities 0 (138)
Realized loss on sales of available-for-sale securities 8 258
Changes in operating assets and liabilities:    
Accounts receivable, net 17,868 1,903
Inventories (7,861) (2,016)
Prepaid expenses and other current assets 2,231 126,874
Operating lease right-of-use assets (1,800) 494
Other assets (3,066) 3,529
Accounts payable (1,013) (1,060)
Accrued and other liabilities 27,745 (33,331)
Operating lease liabilities, current 295 (170)
Deferred revenue 33,078 48,117
Accrued interest for finance lease liabilities (73) (115)
Operating lease liabilities, non-current 1,388 (359)
Other long-term liabilities (8,065) 64,317
Net cash provided by (used in) operating activities (71,527) 90,179
Investing activities    
Purchases of property and equipment (2,215) (1,185)
Payment made for investment in unconsolidated variable interest entity 0 (1,419)
Purchases of available-for-sale securities (266,647) (38)
Proceeds from sales of available-for-sale securities 4,000 10,606
Proceeds from maturities of investments 10,610 201,900
Net cash provided by (used in) investing activities (254,252) 209,864
Financing activities    
Repayments of finance lease liabilities (5,326) (5,992)
Repayments of lease obligations (201) (201)
Cash paid for payroll taxes on restricted stock unit releases (5,928) (6,858)
Proceeds from issuance of common stock 11,756 16,510
Net cash provided by financing activities 301 3,459
Effect of exchange rate change on cash and cash equivalents 446 (499)
Net increase (decrease) in cash and cash equivalents (325,032) 303,003
Total cash and cash equivalents at beginning of period 678,393 126,266
Total cash and cash equivalents at end of period $ 353,361 $ 429,269