v3.25.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Cash flows from operating activities:      
Net income (loss) $ (7,467) $ (85,964) $ 78,074
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation 14,704 24,134 19,888
Amortization of intangible assets 4,514 5,313 14,988
Reduction in carrying amount of right-of-use asset 9,887 11,455 12,248
Provision for credit losses 157 210 459
Share-based compensation 82,314 76,763 63,472
Deferred income taxes (820) 80 407
Provision for excess and obsolete inventory 2,618 71,068 7,305
Non-cash interest expense 1,214 1,060 1,145
Other 3,532 (2,496) (8,056)
Changes in operating assets and liabilities:      
Accounts receivable, net (37,347) 92,316 1,593
Inventories 27,181 (116,434) (49,132)
Prepaid expenses and other assets (23,118) (21,212) (1,368)
Accounts payable 12,709 (48,012) 14,733
Accrued compensation and benefits 18,685 (29,136) 17,137
Operating lease liabilities (11,056) (11,528) (15,219)
Deferred revenue 37,722 76,240 90,102
Other current and long-term liabilities 16,602 11,629 1,436
Net cash provided by operating activities 152,031 55,486 249,212
Cash flows from investing activities:      
Capital expenditures for property, equipment and capitalized software development costs (24,713) (18,121) (13,800)
Net cash used in investing activities (24,713) (18,121) (13,800)
Cash flows from financing activities:      
Borrowings under revolving facility   30,000 25,000
Payments on revolving facility   (55,000)  
Payments on debt obligations (10,000) (10,000) (108,625)
Payments on debt financing costs (695)    
Loan fees on borrowings     (3,158)
Repurchase of common stock (37,993) (49,855) (99,860)
Payments for tax withholdings, net of proceeds from issuance of common stock (3,898) (30,123) (5,140)
Deferred payments on an acquisition     (3,000)
Net cash used in financing activities (52,586) (114,978) (194,783)
Foreign currency effect on cash and cash equivalents 314 (514) (325)
Net increase (decrease) in cash and cash equivalents 75,046 (78,127) 40,304
Cash and cash equivalents at beginning of period 156,699 234,826 194,522
Cash and cash equivalents at end of period 231,745 156,699 234,826
Supplemental disclosure of cash flow information:      
Cash paid for interest 14,747 14,691 13,093
Cash paid for taxes, net 4,067 15,613 12,003
Non-cash investing activities:      
Unpaid capital expenditures $ 1,326 $ 4,084 $ 2,250