XML 17 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Unaudited Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Cash flows from operating activities    
Net income (loss) $ (1,028) $ 402
Adjustments to reconcile net income (loss) to net cash used in operating activities:    
Depreciation and amortization 1,419 1,660
Share-based compensation 2,516 2,244
Amortization of debt issuance costs 156 357
Accretion of interest on debt   1,241
Provision (reversal of provision) for credit losses 303 (660)
Non-cash revenue transactions related to joint venture contribution   (1,365)
Provision for write-down of inventories 1,007 1,520
Loss on disposal of property and equipment 22 2
Loss on equity method investment 340 28
Release (deferral) of equity method investment intra-entity profit on sales 1,738 (326)
Changes in assets and liabilities:    
Accounts receivable (9,178) 17,953
Inventories (2,093) (7,671)
Prepaid expenses and other assets (1,487) 3,973
Deferred cost of revenue 516 (88)
Accounts payable 3,575 (5,202)
Operating lease liabilities, net (217) (157)
Accrued liabilities (2,302) (7,281)
Customer advances (1,935) (6,134)
Deferred revenues (1,952) (3,366)
Net cash used in operating activities (8,600) (2,870)
Cash flows from investing activities    
Purchases of property and equipment (1,456) (569)
Net cash used in investing activities (1,456) (569)
Cash flows from financing activities    
Paydown under Prior Term Loan and amendment cost, net   (10,500)
Paydown under New Term Loan (1,000)  
Borrowings (repayments) under Prior Revolving Credit Facility, net   (659)
Net cash used in financing activities (1,000) (11,159)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (654) 1,488
Net decrease in cash, cash equivalents and restricted cash (11,710) (13,110)
Cash, cash equivalents and restricted cash at beginning of period 118,201 109,911
Cash, cash equivalents and restricted cash at end of period 106,491 $ 96,801
Supplemental disclosures of cash flow information:    
Reclassification from Equity component of debt into debt issuance cost liability $ 25,633