XML 18 R7.htm IDEA: XBRL DOCUMENT v3.24.1.u1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2024
Mar. 31, 2023
Cash flows from operating activities    
Net income (loss) including noncontrolling interest $ (8,349) $ 13,468
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 39,849 31,162
Equity method investment income (loss) from equity investee 4,085 (1,533)
Share-based compensation expense 18,074 34,119
Deferred income taxes, net (910) (962)
Loss on disposal of property and equipment 88 387
Changes in operating assets and liabilities    
Accounts receivable 9,166 46,247
Inventories (14,851) (21,744)
Other current and long-term assets 3,637 (7,824)
Accounts payable (4,303) (21,581)
Net payable, equity investee 2,325 (10,595)
Income taxes payable (895) 2,506
Increase (decrease) in deferred revenue (409) 14,370
Accrued and other liabilities (28,916) (29,366)
Net cash provided by operating activities 18,591 48,654
Cash flows from investing activities    
Purchases of property and equipment (29,759) (91,261)
Proceeds from sale of property and equipment 357 27
Government grant related to equipment 809 631
Net cash used in investing activities (28,593) (90,603)
Cash flows from financing activities    
Withholding tax on restricted stock units (7,343) (6,152)
Proceeds from exercise of stock options and ESPP 5,650 4,631
Proceeds from borrowings 0 8,632
Payment for repurchases of common shares 0 (2,665)
Repayments of borrowings (8,586) (10,260)
Principal payments on finance leases (644) (603)
Net cash used in financing activities (10,923) (6,417)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (83) (121)
Net decrease in cash, cash equivalents and restricted cash (21,008) (48,487)
Cash, cash equivalents and restricted cash at beginning of period 195,603 314,651
Cash, cash equivalents and restricted cash at end of period 174,595 266,164
Supplemental disclosures of non-cash investing and financing information:    
Property and equipment purchased but not yet paid 3,906 17,298
Reconciliation of cash, cash equivalents, and restricted cash:    
Cash and cash equivalents 174,387 265,946
Restricted cash 208 218
Total cash, cash equivalents, and restricted cash $ 174,595 $ 266,164