cash equivalents, investments, cash flows from operations and available funds under our Credit Facility will be sufficient to finance our operations through at least the next twelve months (see “Debt and Available Borrowing Resources” and “Funding Requirements” below).
Working Capital
As of July 1, 2023 and December 31, 2022, our working capital was $89,926 and $79,843, respectively. The historical seasonality in our business during the year can cause cash and cash equivalents, inventory and accounts payable to fluctuate, resulting in changes in our working capital.
Cash Flows
The following table summarizes the key cash flow metrics from our consolidated statements of cash flows for the twenty-six weeks ended July 1, 2023 and July 2, 2022 (in thousands):
| | | | | | |
| | Twenty-Six Weeks Ended |
| | July 1, 2023 | | July 2, 2022 |
Net cash provided by operating activities | | $ | 66,361 | | $ | 5,459 |
Net cash used in investing activities | | | (4,586) | | | (7,753) |
Net cash used in financing activities | | | (1,329) | | | (605) |
Effect of exchange rate changes on cash | | | — | | | (21) |
Net change in cash and cash equivalents | | $ | 60,446 | | $ | (2,920) |
Operating Activities
Net cash provided by operating activities for the twenty-six weeks ended July 1, 2023 and July 2, 2022 was $66,361 and $5,459, respectively. The increase was primarily driven by a higher net cash inflow from the change in working capital.
Investing Activities
For the twenty-six weeks ended July 1, 2023 and July 2, 2022, net cash used in investing activities was primarily the result of additions to property and equipment ($4,669 and $7,797, respectively), which are mainly related to capitalized website and software development costs.
Financing Activities
Net cash used in financing activities was $1,329 for the twenty-six weeks ended July 1, 2023, primarily due to $2,467 of payments on finance leases and the $1,052 repurchase of treasury stock, partially offset by $1,969 of proceeds from stock option exercises. Net cash used in financing activities was $605 for the twenty-six weeks ended July 2, 2022, primarily due to $1,966 of payments on finance leases, partially offset by $929 of proceeds from stock option exercises.
Debt and Available Borrowing Resources
Total debt was $18,203 as of July 1, 2023 compared to $20,669 as of December 31, 2022 and primarily consists of right-of-use obligations – finance.
The Company maintains a Credit Facility that provides for, among other things, a revolving commitment, which is subject to a borrowing base derived from certain receivables, inventory and property and equipment. The Credit Facility provides for the revolving commitment in an aggregate principal amount of up to $75,000 and allows for an uncommitted ability to increase the aggregate principal amount by an additional $75,000 to $150,000, subject to certain terms and conditions. The Credit Facility matures on June 17, 2027. As of July 1, 2023 and December 31, 2022, our outstanding revolving loan balance was $0, respectively. As of July 1, 2023 and December 31, 2022, the outstanding standby letters of credit balance was $1,100 and $620, respectively, and we had $0 of our trade letters of credit