XML 49 R8.htm IDEA: XBRL DOCUMENT v3.20.1
Condensed Consolidated Statement of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Operating activities    
Net loss $ (78,348) $ (45,411)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation 2,868 2,744
Amortization of finance lease right-of-use assets 2,594 2,569
Net accretion of discount on investments (143) (1,350)
Unrealized loss (gain) on equity investments 21 (51)
Gain on disposal of property and equipment 0 (10)
Stock-based compensation 16,916 16,430
Tax benefit on unrealized gain on available-for-sale securities (439) (118)
Realized loss on sales of available-for-sale securities 258 0
Changes in operating assets and liabilities:    
Accounts receivable, net (30,085) 57,661
Inventories (1,521) 0
Prepaid expenses and other current assets (637) (2,785)
Other assets 761 (51)
Accounts payable (3,223) (5,367)
Accrued and other liabilities (41,224) 736
Deferred revenue 47,996 (2,580)
Accrued interest for finance lease liabilities (216) 219
Other long-term liabilities 24,936 (156)
Net cash provided by (used in) operating activities (59,486) 22,480
Investing activities    
Purchases of property and equipment (459) (483)
Purchases of available-for-sale securities and term deposit (38) (76,004)
Proceeds from sales of available-for-sale securities 10,606 0
Proceeds from maturities of investments 45,900 50,000
Net cash provided by (used in) investing activities 56,009 (26,487)
Financing activities    
Repayments of finance lease liabilities (2,814) (3,017)
Repayments of lease obligations (101) (101)
Cash paid for payroll taxes on restricted stock unit releases (5,279) (5,988)
Proceeds from issuance of common stock 7,004 5,572
Net cash used in financing activities (1,190) (3,534)
Effect of exchange rate change on cash and cash equivalents (39) (44)
Net decrease in cash and cash equivalents (4,706) (7,585)
Total cash and cash equivalents at beginning of period 126,266 89,258
Total cash and cash equivalents at end of period $ 121,560 $ 81,673