XML 17 R7.htm IDEA: XBRL DOCUMENT v3.21.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities:    
Net income (loss) $ 11,397 $ (4,012)
Adjustments to reconcile net (loss) income to net cash provided by (used in) operating activities:    
Depreciation and amortization 4,321 4,330
Recovery from doubtful accounts 270 1,205
Stock-based compensation expense 6,702 4,835
Non-cash provision for restructuring 927 0
Non-cash interest expense 257 3,433
Loss (gain) on extinguishment of debt 2,579 0
Unrealized foreign currency transaction losses (gains) (1,468) (112)
Provision for (benefit from) deferred taxes 547 383
Changes in operating assets and liabilities, net of effects from acquisitions:    
Accounts receivable 19,599 18,783
Inventories 2,326 (484)
Prepaid expenses and other assets (2,629) (547)
Accounts payable (48) (22,003)
Accrued expenses, compensation and benefits and other liabilities (14,942) (4,057)
Income taxes payable (16) 66
Deferred revenue and contract assets (10,924) (10,932)
Net cash provided by (used in) operating activities 18,898 (9,112)
Cash flows from investing activities:    
Purchases of property and equipment (2,275) (3,212)
Net cash used in investing activities (2,275) (3,212)
Cash flows from financing activities:    
Proceeds from revolving line of credit 0 22,000
Proceeds from long-term debt 180,000 7,800
Repayment of debt (205,824) (695)
Payments for repurchase of outstanding notes 0 (28,867)
Proceeds from the issuance of common stock under employee stock plans 363 0
Common stock repurchases for tax withholdings for net settlement of equity awards (14,038) (2,357)
Prepayment penalty on extinguishment of debt (1,169) 0
Partial unwind capped call cash receipt 0 875
Payments for credit facility issuance costs (2,574) (289)
Net cash (used in) provided by financing activities (43,242) (1,533)
Effect of exchange rate changes on cash, cash equivalents and restricted cash 56 682
Net increase (decrease) in cash, cash equivalents and restricted cash (26,563) (13,175)
Cash, cash equivalents and restricted cash at beginning of period 83,638 72,575
Cash, cash equivalents and restricted cash at end of period 57,075 59,400
Supplemental Cash Flow Information [Abstract]    
Cash and cash equivalents at end of period 53,337 55,662
Restricted cash 1,422 1,663
Restricted cash included in other long-term assets 2,316 2,075
Cash paid for income taxes 336 144
Cash paid for interest $ 1,308 $ 8,976