XML 20 R8.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 $ (65,928) $ (58,884)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 16,860 21,478
Non-cash leases expense 6,188 6,593
Gain on lease modification (6,370) 0
Stock-based compensation expense, net of amounts capitalized 51,844 49,172
Deferred income taxes 395 197
Bad debt expense 1,191 590
Impairment of property and equipment 1,411 0
Other 844 310
Changes in assets and liabilities:    
Accounts receivable (2,151) 840
Prepaid expenses and other assets (11,529) (7,530)
Accounts payable and accrued liabilities (3,272) 12,691
Accrued compensation (487) (1,052)
Deferred revenue 17,350 26,678
Operating lease liabilities (7,596) (7,522)
Net cash provided by (used in) operating activities (1,250) 43,561
Cash flows from investing activities    
Purchases of property and equipment (449) (322)
Capitalized internal-use software (4,955) (4,418)
Net cash used in investing activities (5,404) (4,740)
Cash flows from financing activities    
Proceeds from stock option exercises 2,827 17,703
Proceeds from employee stock purchase plan 2,751 3,873
Payments to repurchase common stock (68,497) 0
Repayment of debt (26,100) (1,100)
Net cash provided by (used in) financing activities (89,019) 20,476
Effect of exchange rate changes on cash (448) 101
Net increase (decrease) in cash, cash equivalents and restricted cash (96,121) 59,398
Cash, cash equivalents and restricted cash at beginning of period 306,121 224,614
Cash, cash equivalents and restricted cash at end of period 210,000 284,012
Supplemental cash flow data:    
Interest paid for term debt 4,210 4,267
Income taxes paid 664 618
Non-cash investing and financing transactions:    
Stock compensation included in capitalized software costs 1,448 1,136
Lease liabilities arising from obtaining right-of-use assets, net of terminations and modifications $ (13,620) $ 2,676