XML 25 R8.htm IDEA: XBRL DOCUMENT v3.20.2
Condensed Consolidated Statement of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Operating activities    
Net income (loss) $ (163,661) $ 70,592
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation 5,737 5,523
Amortization of finance lease right-of-use assets 5,247 5,140
Net accretion of discount on investments (22) (2,457)
Unrealized loss (gain) on equity investments 15 (59)
Gain on disposal of property and equipment 0 (10)
Stock-based compensation 34,560 34,072
Tax benefit on unrealized gain on available-for-sale securities (138) 0
Realized loss on sales of available-for-sale securities 258 0
Changes in operating assets and liabilities:    
Accounts receivable, net 1,903 57,231
Inventories (2,016) (1,981)
Prepaid expenses and other current assets 126,874 (131,803)
Other assets 4,025 (200)
Accounts payable (1,060) (5,079)
Accrued and other liabilities (33,501) 917
Deferred revenue 48,117 (46,818)
Accrued interest for finance lease liabilities (115) 241
Other long-term liabilities 63,956 8,519
Net cash provided by (used in) operating activities 90,179 (6,172)
Investing activities    
Purchases of property and equipment (1,185) (2,206)
Advanced payment made for acquisition (1,419) 0
Purchases of available-for-sale securities and term deposit (38) (105,511)
Proceeds from sales of available-for-sale securities 10,606 0
Proceeds from maturities of investments 201,900 100,000
Net cash provided by (used in) investing activities 209,864 (7,717)
Financing activities    
Repayments of finance lease liabilities (5,992) (5,850)
Repayments of lease obligations (201) (202)
Cash paid for payroll taxes on restricted stock unit releases (6,858) (8,065)
Proceeds from issuance of common stock 16,510 13,337
Net cash provided by (used in) financing activities 3,459 (780)
Effect of exchange rate change on cash and cash equivalents (499) (2)
Net increase (decrease) in cash and cash equivalents 303,003 (14,671)
Total cash and cash equivalents at beginning of period 126,266 89,258
Total cash and cash equivalents at end of period $ 429,269 $ 74,587