XML 18 R8.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities    
Net loss $ (86,258) $ (81,787)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 23,094 32,349
Non-cash leases expense 8,510 9,824
Gain on lease modification (6,370) 0
Stock-based compensation expense, net of amounts capitalized 76,155 73,766
Deferred income taxes 489 293
Bad debt expense 2,273 898
Impairment of property and equipment 1,411 0
Unrealized foreign currency (gains) losses, net and other 2,821 1,048
Changes in assets and liabilities:    
Accounts receivable (1,897) (2,654)
Prepaid expenses and other assets (12,326) (9,872)
Accounts payable and accrued liabilities (4,077) 13,585
Accrued compensation (4,711) 7,089
Deferred revenue 11,709 27,013
Operating lease liabilities (10,172) (11,244)
Net cash provided by operating activities 651 60,308
Cash flows from investing activities    
Purchases of property and equipment (449) (387)
Capitalized internal-use software (6,679) (6,450)
Proceeds from sale of property and equipment 0 85
Net cash used in investing activities (7,128) (6,752)
Cash flows from financing activities    
Proceeds from stock option exercises 2,827 21,334
Proceeds from employee stock purchase plan 2,751 3,873
Payments to repurchase common stock (83,487) 0
Repayment of debt (26,650) (1,650)
Net cash provided by (used in) financing activities (104,559) 23,557
Effect of exchange rate changes on cash (1,493) (293)
Net increase (decrease) in cash, cash equivalents and restricted cash (112,529) 76,820
Cash, cash equivalents and restricted cash at beginning of period 306,121 224,614
Cash, cash equivalents and restricted cash at end of period 193,592 301,434
Supplemental cash flow data:    
Interest paid for term debt 7,116 6,416
Income taxes paid 564 732
Non-cash investing and financing transactions:    
Stock compensation included in capitalized software costs 1,928 1,666
Lease liabilities arising from obtaining right-of-use assets, net of terminations and modifications $ (13,620) $ 2,676