XML 24 R7.htm IDEA: XBRL DOCUMENT v3.25.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2024
Dec. 31, 2023
Cash flows from operating activities    
Net income (loss) $ (9,110) $ 2,863
Adjustments to reconcile net income (loss) to net cash provided by (used by) operating activities:    
Depreciation and amortization 28,690 26,524
Equity method investment loss from equity investee 1,568 3,409
Share-based compensation expense 14,852 9,609
Deferred income taxes, net 346 (880)
Loss on disposal of property and equipment 67 42
Impairment of privately-held investment 100 0
Changes in operating assets and liabilities    
Accounts receivable (7,333) (9,504)
Inventories 12,017 (8,462)
Contract assets (8,451) 0
Other current and long-term assets 2,500 (10,688)
Accounts payable (1,896) (3,206)
Net payable, equity investee 4,455 1,015
Income taxes payable 277 (759)
Deferred revenue (2,591) (4,358)
Accrued and other liabilities (10,365) (15,233)
Net cash provided by (used in) operating activities 25,126 (9,628)
Cash flows from investing activities    
Purchases of property and equipment (14,420) (22,030)
Proceeds from sale of property and equipment 0 150
Government grant related to equipment 320 449
Net cash used in investing activities (14,100) (21,431)
Cash flows from financing activities    
Withholding tax on restricted stock units (978) (602)
Proceeds from exercise of stock options and ESPP 3,512 4,595
Repayments of borrowings (5,807) (5,713)
Principal payments on finance leases (459) (426)
Net cash used in financing activities (3,732) (2,146)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (36) 80
Net increase (decrease) in cash, cash equivalents and restricted cash 7,258 (33,125)
Cash, cash equivalents and restricted cash at beginning of period 175,540 195,603
Cash, cash equivalents and restricted cash at end of period 182,798 162,478
Supplemental disclosures of non-cash investing and financing information:    
Property and equipment purchased but not yet paid 3,738 4,127
Reconciliation of cash, cash equivalents, and restricted cash:    
Cash and cash equivalents 182,592 162,266
Restricted cash 206 212
Total cash, cash equivalents, and restricted cash $ 182,798 $ 162,478