XML 18 R6.htm IDEA: XBRL DOCUMENT v3.22.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net loss $ (544,396) $ (434,395)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities:    
Depreciation and amortization 137,744 119,405
Non-cash reduction to the right-of-use asset 25,539 23,200
Net amortization of investment premium and discount 20,274 13,834
Amortization of debt discount and issuance costs 713 5,081
Stock-based compensation 397,366 281,323
Amortization of deferred commissions 26,076 12,394
Value of shares of Class A common stock donated to charity 6,605 16,194
Loss on extinguishment of debt 0 28,986
Other adjustments 9,927 8,313
Changes in operating assets and liabilities:    
Accounts receivable (91,782) (41,687)
Prepaid expenses and other current assets (57,997) (44,604)
Other long-term assets (52,521) (39,118)
Accounts payable 6,654 27,078
Accrued expenses and other current liabilities 78,430 65,923
Deferred revenue and customer deposits (3,984) 7,615
Operating lease liabilities (31,127) (23,610)
Other long-term liabilities (7,662) 290
Net cash (used in) provided by operating activities (80,141) 26,222
CASH FLOWS FROM INVESTING ACTIVITIES:    
Acquisitions, net of cash acquired and other related payments (31,697) (94,178)
Purchases of marketable securities and other investments (1,325,366) (2,807,798)
Proceeds from sales and maturities of marketable securities 754,574 754,466
Capitalized software development costs (22,361) (21,839)
Purchases of long-lived and intangible assets (10,779) (12,140)
Net cash used in investing activities (635,629) (2,181,489)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from public offerings, net of underwriters' discounts 0 1,766,400
Payments of costs related to public offerings (35) (394)
Proceeds from issuance of senior notes due 2029 and 2031 0 987,500
Payment of debt issuance costs 0 (1,362)
Proceeds from settlements of capped call, net of settlement costs 0 228,412
Principal payments on debt and finance leases (6,188) (6,658)
Value of equity awards withheld for tax liabilities (1,069) (4,656)
Proceeds from exercises of stock options and shares of Class A common stock issued under ESPP 41,694 55,614
Net cash provided by financing activities 34,402 3,024,856
Effect of exchange rate changes on cash, cash equivalents and restricted cash 313 (143)
NET (DECREASE) INCREASE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH (681,055) 869,446
CASH, CASH EQUIVALENTS AND RESTRICTED CASH—Beginning of period 1,481,831 933,885
CASH, CASH EQUIVALENTS AND RESTRICTED CASH —End of period 800,776 1,803,331
Supplemental Cash Flow Information [Abstract]    
Cash paid for income taxes, net 4,147 3,240
Cash paid for interest 18,750 693
NON-CASH INVESTING AND FINANCING ACTIVITIES:    
Value of common stock issued to settle convertible senior notes due 2023 0 1,704,969
RECONCILIATION OF CASH, CASH EQUIVALENTS AND RESTRICTED CASH TO THE CONDENSED CONSOLIDATED BALANCE SHEETS    
Cash and cash equivalents 798,625 1,799,602
Restricted cash in other current assets 2,151 2,620
Restricted cash in other long-term assets 0 1,109
Total cash, cash equivalents and restricted cash $ 800,776 $ 1,803,331