XML 17 R7.htm IDEA: XBRL DOCUMENT v3.21.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Cash flows from operating activities:    
Net income (loss) $ 26,172 $ 3,975
Adjustments to reconcile net (loss) income to net cash provided by (used in) operating activities:    
Depreciation and amortization 6,323 6,317
Allowance for doubtful accounts 401 1,349
Stock-based compensation expense 10,216 8,132
Non-cash provision for restructuring 841 653
Non-cash interest expense 386 3,408
Loss (gain) on extinguishment of debt 2,579 0
Gain on forgiveness of PPP loan 7,800 0
Unrealized foreign currency transaction (gains) losses (1,400) 219
Provision for (benefit from) deferred taxes 1,388 997
Changes in operating assets and liabilities:    
Accounts receivable 20,089 12,741
Inventories 4,353 788
Prepaid expenses and other assets (1,343) 1,390
Accounts payable 590 (26,440)
Accrued expenses, compensation and benefits and other liabilities (10,635) 7,752
Income taxes payable (217) 81
Deferred revenue and contract assets (16,525) (12,519)
Net cash provided by operating activities 35,418 8,843
Cash flows from investing activities:    
Purchases of property and equipment (4,750) (5,619)
Net cash used in investing activities (4,750) (5,619)
Cash flows from financing activities:    
Proceeds from revolving line of credit 0 22,000
Repayment on revolving line of credit 0 (22,000)
Proceeds from long-term debt 180,000 7,800
Repayment of debt (208,142) (1,474)
Payments for repurchase of common stock (10,526) 0
Payments for repurchase of outstanding notes 0 (28,867)
Proceeds from the issuance of common stock under employee stock plans 363 252
Common stock repurchases for tax withholdings for net settlement of equity awards (17,108) (2,610)
Unwind capped call cash receipt 0 875
Prepayment penalty on extinguishment of debt (1,169) 0
Payments for credit facility issuance costs (2,574) (289)
Net cash (used in) provided by financing activities (59,156) (24,313)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (927) 1,394
Net decrease in cash, cash equivalents and restricted cash (29,415) (19,695)
Cash, cash equivalents and restricted cash at beginning of period 83,638 72,575
Cash, cash equivalents and restricted cash at end of period 54,223 52,880
Supplemental information:    
Cash and cash equivalents 50,485 49,142
Restricted cash 1,422 1,664
Restricted cash included in other long-term assets 2,316 2,074
Total cash, cash equivalents and restricted cash shown in the statement of cash flows 54,223 52,880
Cash paid (refunded) for income taxes 706 (659)
Cash paid for interest $ 6,354 $ 13,579