XML 39 R8.htm IDEA: XBRL DOCUMENT v3.22.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities    
Net loss $ (162,028) $ (107,372)
Adjustments to reconcile net loss to net cash provided by operating activities    
Depreciation and amortization 19,657 18,623
Share-based compensation 137,297 109,068
Amortization of deferred costs 42,044 30,942
Amortization of debt discount and issuance costs 2,446 25,219
Real estate impairments 24,908 0
Allowance for credit losses on accounts receivable 3,977 4,495
Other, net 4,565 123
Changes in operating assets and liabilities:    
Accounts receivable 8,680 (11,498)
Prepaid expenses and other current assets (8,998) (1,739)
Deferred costs (56,963) (53,251)
Lease right-of-use assets 8,588 8,818
Other assets and liabilities (979) (1,850)
Accounts payable 22,156 5,377
Accrued liabilities 1,327 (2,561)
Accrued compensation and related benefits (28,905) (5,961)
Deferred revenue 52,183 59,139
Lease liabilities (9,718) (17,099)
Net cash provided by operating activities 60,237 60,473
Cash flows from investing activities    
Purchases of property and equipment (12,850) (5,957)
Internal-use software development costs (5,896) (7,538)
Purchases of marketable securities (364,788) (504,850)
Proceeds from maturities of marketable securities 265,659 380,608
Proceeds from sales of marketable securities 114,610 57,061
Purchases of strategic investments (1,000) 0
Net cash used in investing activities (4,265) (80,676)
Cash flows from financing activities    
Proceeds from exercises of employee stock options 12,231 15,135
Proceeds from employee stock purchase plan 28,035 26,778
Taxes paid related to net share settlement of share-based awards (3,957) (6,302)
Net cash provided by financing activities 36,309 35,611
Effect of exchange rate changes on cash, cash equivalents and restricted cash 63 (19)
Net increase in cash, cash equivalents and restricted cash 92,344 15,389
Cash, cash equivalents and restricted cash at beginning of period 477,350 407,859
Cash, cash equivalents and restricted cash at end of period 569,694 423,248
Reconciliation of cash, cash equivalents and restricted cash to condensed consolidated balance sheets    
Cash and cash equivalents 567,980 422,810
Restricted cash included in prepaid expenses and other current assets 1,714 433
Restricted cash included in other assets 0 5
Total cash, cash equivalents and restricted cash 569,694 423,248
Supplemental cash flow data    
Cash paid for interest 3,780 3,780
Cash paid for taxes 6,125 5,496
Non-cash investing and financing activities    
Balance of property and equipment in accounts payable and accrued expenses 3,098 1,315
Property and equipment acquired through tenant improvement allowances 1,208 0
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 815 916
Deferred costs    
Non-cash investing and financing activities    
Share-based compensation capitalized in internal-use software development costs and in deferred costs $ 1,247 $ 1,329