XML 51 R6.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 $ (595,103) $ (257,893)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 184,166 78,223
Share-based compensation 293,777 254,749
Unrealized loss on investments 176,218 14,346
Asset write-down charge 124,904 0
Amortization of deferred and prepaid sales commission costs 81,536 53,307
Amortization of debt discount and issuance costs 3,350 47,980
Loss on early extinguishment of debt 0 1,736
Repayment of convertible senior notes attributable to debt discount 0 (10,131)
Reduction of operating lease right-of-use assets 14,887 13,320
Provision for bad debt 7,103 5,384
Other 3,688 1,463
Changes in assets and liabilities:    
Accounts receivable (40,247) (45,476)
Deferred and prepaid sales commission costs (185,049) (125,181)
Prepaid expenses and other assets (689) 7,849
Accounts payable 19,384 (4,472)
Accrued and other liabilities 47,001 55,971
Deferred revenue 32,970 27,176
Operating lease liabilities (15,963) (13,851)
Net cash provided by operating activities 151,933 104,500
Cash flows from investing activities    
Purchases of property and equipment (23,828) (21,787)
Capitalized internal-use software (39,638) (30,932)
Proceeds from sale of marketable equity investments 3,223 0
Purchases of intangible assets and long-term investments (3,990) (10,463)
Net cash used in investing activities (64,233) (63,182)
Cash flows from financing activities    
Payments for repurchase or redemption of convertible senior notes 0 (333,632)
Payments for repurchase of common stock (45,004) 0
Proceeds from issuance of stock in connection with stock plans 10,892 21,738
Payments for taxes related to net share settlement of equity awards (5,180) (16,995)
Payment for contingent consideration (1,538) (3,600)
Repayment of financing obligations (3,950) (2,804)
Net cash used in financing activities (44,780) (335,293)
Effect of exchange rate changes (4,699) (726)
Net increase (decrease) in cash, cash equivalents, and restricted cash 38,221 (294,701)
Cash, cash equivalents, and restricted cash    
Beginning of period 267,162 639,853
End of period 305,383 345,152
Supplemental disclosure of cash flow data:    
Cash paid for interest 272 246
Cash paid for income taxes, net of refunds 2,895 1,062
Non-cash investing and financing activities    
Equipment and capitalized internal-use software purchased and unpaid at period end $ 9,355 $ 7,639