XML 19 R7.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash flows from operating activities      
Net (loss) income $ (38,329) $ 76,544 $ (54,890)
Income from discontinued operations, net of taxes 40 96,383 3,445
Loss from continuing operations (38,369) (19,839) (58,335)
Adjustments to reconcile net loss to net cash provided by operating activities:      
Depreciation and amortization 16,279 20,372 20,695
Goodwill impairment 0 8,264 0
Deferred income taxes 63 (743) 215
Bad debt expense and other reserves 528 2,984 1,432
Stock-based compensation 20,395 23,077 36,462
Additions and changes in fair value 41 182 300
Amortization of lease right-of-use assets 4,295 5,408 5,946
Loss from equity method investment 5,404 1,989 1,280
Impairment of right-of-use assets and write-off and net loss on disposal of finite-lived assets 1,682 2,436 1,109
Other noncash expenses 408 0 0
Changes in operating assets and liabilities:      
Accounts receivable 15,685 2,332 3,989
Prepaid expenses and other assets 2,733 1,297 (103)
Accounts payable (1,806) (8,221) (4,922)
Accrued employee expenses (1,754) 357 1,494
Operating lease liabilities (5,192) (6,257) (6,846)
Accrued expenses and other current liabilities (5,630) (4,128) 10,504
Other liabilities (388) 388 (397)
Net cash provided by operating activities - continuing operations 14,374 29,898 12,823
Net cash (used in) provided by operating activities - discontinued operations (180) 9,219 7,521
Net cash provided by operating activities 14,194 39,117 20,344
Cash flows from investing activities      
Purchase of property and equipment (10,689) (10,277) (10,181)
Cash paid for equity method investment 0 0 (23,174)
Net cash used in investing activities - continuing operations (10,689) (10,277) (33,355)
Net cash provided by (used in) investing activities - discontinued operations 6,484 112,178 (1,103)
Net cash (used in) provided by investing activities (4,205) 101,901 (34,458)
Cash flows from financing activities      
Payment of contingent consideration liability (2,214) (2,263) 0
Proceeds from exercise of common stock options 1,391 97 2,859
Taxes paid related to net share settlement of equity awards (5,320) (4,251) (3,339)
Payments for the repurchase of common stock (31,943) (42,821) 0
Net cash used in financing activities (38,086) (49,238) (480)
Net (decrease) increase in cash and cash equivalents (28,097) 91,780 (14,594)
Cash and cash equivalents at beginning of year 273,314 181,534 196,128
Cash and cash equivalents at end of year 245,217 273,314 181,534
Supplemental disclosure of cash flow information      
Income taxes 1,554 43 26
Supplemental disclosures of non-cash activities      
Stock-based compensation capitalized for software development 1,296 1,322 1,670
Capitalized assets included in accounts payable, accrued employee expenses and other accrued expenses 1,239 643 363
Capitalized asset retirement costs included in property and equipment $ 0 $ 498 $ 0