XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Cash flows from operating activities:    
Net income (loss) $ 38,861 $ (8,390)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation 15,324 17,801
Amortization of intangible assets 15,670 24,501
Reduction in carrying amount of right-of-use asset 11,641 12,129
Provision for doubtful accounts (3) 270
Share-based compensation 32,630 27,595
Deferred income taxes 228 741
Non-cash interest expense 3,611 3,195
Other 41 2,770
Changes in operating assets and liabilities, net of acquisition:    
Accounts receivable (5,068) (8,101)
Inventories (4,925) 11,869
Prepaid expenses and other assets (28,054) (7,908)
Accounts payable 8,481 7,900
Accrued compensation and benefits (28,227) 351
Operating lease liabilities (14,524) (14,983)
Deferred revenue 16,725 27,233
Other current and long-term liabilities 1,644 (9,477)
Net cash provided by operating activities 64,055 87,496
Cash flows from investing activities:    
Capital expenditures (11,130) (12,318)
Business acquisition, net of cash acquired (69,517)  
Net cash used in investing activities (80,647) (12,318)
Cash flows from financing activities:    
Payments on debt obligations (31,000) (69,250)
Repurchase of common stock (24,974)  
Payments for tax withholdings, net of proceeds from issuance of common stock (3,213) 7,167
Payment of contingent consideration obligations (1,024) (1,298)
Deferred payments on an acquisition (3,000) (3,000)
Net cash used in financing activities (63,211) (66,381)
Foreign currency effect on cash (525) 470
Net (decrease) increase in cash (80,328) 9,267
Cash at beginning of period 246,894 193,872
Cash at end of period $ 166,566 $ 203,139