XML 103 R9.htm IDEA: XBRL DOCUMENT v3.20.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Operating activities      
Net loss $ (747,064) $ (514,021) $ (384,734)
Adjustments to reconcile net loss to net cash used in operating activities:      
Stock-based compensation 93,021 81,122 72,565
Depreciation and amortization 31,251 31,021 24,862
Leased assets expensed 62,286 0 0
Amortization/accretion of investments 10,185 (3,742) (1,866)
Loss on disposal of property and equipment 238 316 891
Changes in assets and liabilities:      
Accounts receivable (1,385,191) 7,216 832
Inventory (46,527) 0 0
Prepaid expenses and other assets (241,041) 9,751 (5,289)
Right-of-use assets, operating leases (10,542) (5,664) 0
Accounts payable 11,875 (23,964) 15,017
Accrued liabilities 388,392 (3,362) 8,787
Deferred revenue 3,842,307 (44,119) (65,260)
Deferred lease obligation 0 0 2,420
Operating lease liabilities 11,792 12,647 0
Other liabilities 5,989 (6,169) 910
Net cash provided by (used in) operating activities 2,026,971 (458,968) (330,865)
Investing activities      
Purchases of marketable securities (2,956,295) (1,145,226) (1,227,709)
Proceeds from maturities of marketable securities 1,137,129 993,181 783,373
Proceeds from sales of marketable securities 214,686 168,654 177,008
Purchases of property and equipment (67,448) (31,554) (105,766)
Net cash used in investing activities (1,671,928) (14,945) (373,094)
Financing activities      
Proceeds from issuance of redeemable convertible preferred stock, net of issuance costs 0 0 661,111
Proceeds from offerings of common stock, net of issuance costs 1,852,725 0 563,026
Repurchases of redeemable convertible preferred stock 0 0 (8,182)
Proceeds from issuance of common stock under equity plans 179,643 47,259 1,427
Proceeds from purchase of common stock under employee stock purchase plan 7,040 2,891 0
Charges to financing lease liabilities (6,215) 971 0
Reimbursement of assets under financing lease obligation 0 0 11,635
Payments on financing lease obligation 0 0 (2,175)
Net cash provided by financing activities 2,033,193 51,121 1,226,842
Net increase (decrease) in cash, cash equivalents and restricted cash 2,388,236 (422,792) 522,883
Cash, cash equivalents and restricted cash, beginning of year 247,699 670,491 147,608
Cash, cash equivalents and restricted cash, end of year 2,635,935 247,699 670,491
Supplemental cash flow information      
Cash paid for income taxes 572 416 294
Cash paid for interest 8,528 5,585 2,998
Non-cash investing and financing activities      
Issuance costs included in accounts payable and accrued liabilities 0 0 2,638
Purchases of property and equipment included in accounts payable and accrued liabilities 17,617 4,676 12,892
Leasehold improvements included in prepaid and other current assets 0 0 10,089
Lease financing obligation $ 0 $ 0 $ 10,089