XML 17 R8.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities    
Net loss $ (221,121) $ (161,789)
Adjustments to reconcile net loss to net cash provided by operating activities    
Depreciation and amortization 28,729 27,953
Share-based compensation 217,256 168,601
Amortization of deferred costs 65,024 48,739
Amortization of debt discount and issuance costs 3,673 38,085
Real estate impairments 28,363 0
Allowance for credit losses on accounts receivable 6,641 6,199
Other, net 4,713 1,241
Changes in operating assets and liabilities:    
Accounts receivable 45,516 3,733
Prepaid expenses and other current assets (6,970) (9,385)
Deferred costs (80,759) (75,846)
Lease right-of-use assets 12,085 12,876
Other assets and liabilities (1,223) (3,888)
Accounts payable (5,769) 18,304
Accrued liabilities 16,319 1,349
Accrued compensation and related benefits (24,767) 16,059
Deferred revenue 18,816 64,710
Lease liabilities (16,351) (22,658)
Net cash provided by operating activities 90,175 134,283
Cash flows from investing activities    
Purchases of property and equipment (15,014) (11,030)
Internal-use software development costs (8,230) (10,837)
Purchases of marketable securities (398,519) (718,636)
Proceeds from maturities of marketable securities 365,275 590,588
Proceeds from sales of marketable securities 155,020 101,995
Business combinations, net of cash acquired 0 (7,811)
Purchases of strategic investments (1,500) (1,000)
Proceeds from sales of strategic investments 0 1,008
Net cash provided by (used in) investing activities 97,032 (55,723)
Cash flows from financing activities    
Proceeds from exercises of employee stock options 15,504 18,889
Proceeds from employee stock purchase plan 34,685 37,136
Taxes paid related to net share settlement of share-based awards (5,509) (8,940)
Net cash provided by financing activities 44,680 47,085
Effect of exchange rate changes on cash, cash equivalents and restricted cash (41) (33)
Net increase in cash, cash equivalents and restricted cash 231,846 125,612
Cash, cash equivalents and restricted cash at beginning of period 477,350 407,859
Cash, cash equivalents and restricted cash at end of period 709,196 533,471
Reconciliation of cash, cash equivalents and restricted cash to condensed consolidated balance sheets    
Cash and cash equivalents 707,047 532,517
Restricted cash included in prepaid expenses and other current assets 2,149 949
Restricted cash included in other assets 0 5
Total cash, cash equivalents and restricted cash 709,196 533,471
Supplemental cash flow data    
Cash paid for interest 3,967 3,967
Cash paid for taxes 8,744 7,940
Non-cash investing and financing activities    
Balance of property and equipment in accounts payable and accrued expenses 2,633 1,069
Property and equipment acquired through tenant improvement allowances 1,208 429
Internal-use software development costs    
Non-cash investing and financing activities    
Share-based compensation capitalized in internal-use software development costs and in deferred costs 1,203 1,317
Deferred costs    
Non-cash investing and financing activities    
Share-based compensation capitalized in internal-use software development costs and in deferred costs $ 1,782 $ 2,013