XML 19 R7.htm IDEA: XBRL DOCUMENT v3.25.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2025
Mar. 31, 2024
Cash flows from operating activities    
Net loss $ (19,917) $ (8,349)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Gain on change of equity interest in the equity method investment (505) 0
Depreciation and amortization 46,949 39,849
Equity method investment loss from equity investee 1,828 4,085
Share-based compensation expense 21,988 18,074
Deferred income taxes, net (650) (910)
Loss on disposal of property and equipment 27 88
Impairment of privately-held investment 100 0
Changes in operating assets and liabilities    
Accounts receivable (15,893) 9,166
Inventories 7,624 (14,851)
Other current and long-term assets 4,670 3,637
Accounts payable 5,628 (4,303)
Net payable, equity investee 5,964 2,325
Income taxes payable 59 (895)
Deferred revenue (2,591) (409)
Accrued and other liabilities (22,787) (28,916)
Net cash provided by operating activities 32,494 18,591
Cash flows from investing activities    
Purchases of property and equipment (22,845) (29,759)
Proceeds from sale of property and equipment 0 357
Government grant related to equipment 678 809
Net cash used in investing activities (22,167) (28,593)
Cash flows from financing activities    
Withholding tax on restricted stock units (10,355) (7,343)
Proceeds from exercise of stock options and ESPP 3,512 5,650
Repayments of borrowings (8,729) (8,586)
Principal payments on finance leases (694) (644)
Net cash used in financing activities (16,266) (10,923)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (35) (83)
Net decrease in cash, cash equivalents and restricted cash (5,974) (21,008)
Cash, cash equivalents and restricted cash at beginning of period 175,540 195,603
Cash, cash equivalents and restricted cash at end of period 169,566 174,595
Supplemental disclosures of non-cash investing and financing information:    
Property and equipment purchased but not yet paid 9,933 3,906
Reconciliation of cash, cash equivalents, and restricted cash:    
Cash and cash equivalents 169,359 174,387
Restricted cash 207 208
Total cash, cash equivalents, and restricted cash $ 169,566 $ 174,595