Operating Activities
Net cash provided by operating activities for the twenty-six weeks ended July 3, 2021 and June 27, 2020 was $981 and $25,168, respectively The decrease was primarily due to higher working capital usage driven by an increase in inventory from anticipated demand for online auto parts and stocking up our Grand Prairie distribution center that opened in the fourth quarter of 2020, partially offset by a higher balance in accounts payable because of an increase in inventory purchases and timing of payments and non-cash charges.
Investing Activities
For the twenty-six weeks ended July 3, 2021 and June 27, 2020, net cash used in investing activities was the result of additions to property and equipment ($5,398 and $3,840, respectively), which are mainly related to capitalized website and software development costs.
Financing Activities
Net cash provided by financing activities was $1,786 for the twenty-six weeks ended July 3, 2021, primarily due to $2,779 of proceeds from exercises of stock options, partially offset by $990 of payments on finance leases. Net cash provided by financing activities was $1,267 for the twenty-six weeks ended June 27, 2020, primarily due to $2,893 proceeds from exercises of stock options, partially offset by $1,226 in net payments of notes payable.
Debt and Available Borrowing Resources
Total debt was $15,260 as of July 3, 2021 compared to $13,011 as of January 2, 2021 and primarily consists of right-of-use obligations - finance.
The Company maintains an asset-based revolving credit facility ("Credit Facility") that provides for, among other things, a revolving commitment in an aggregate principal amount of up to $30,000, which is subject to a borrowing base derived from certain receivables, inventory and property and equipment. Our Credit Facility also provides for an option to increase the aggregate principal amount from $30,000 to $40,000 subject to lender approval. As of July 3, 2021, our outstanding revolving loan balance was $0. The outstanding standby letters of credit balance as of July 3, 2021 was $1,435, and we had $0 of our trade letters of credit outstanding in accounts payable in our consolidated balance sheet. We used the trade letters of credit in the ordinary course of business to satisfy certain vendor obligations.
Loans drawn under the Credit Facility bear interest at a per annum rate equal to either (a) LIBOR plus an applicable margin of 1.25% to 1.75% per annum based on the Company’s fixed charge coverage ratio, or (b) an “alternate prime base rate” subject to a reduction by 0.25% to 0.75% per annum based on the Company’s fixed charge coverage ratio. As of July 3, 2021, the Company’s LIBOR based interest rate was 1.38% (on $0 principal) and the Company’s prime based rate was 3.00% (on $0 principal). A commitment fee, based upon undrawn availability under the Credit Facility bearing interest at a rate of 0.25% per annum, is payable monthly. Under the terms of the Credit Agreement, cash receipts are deposited into a lock-box, which are at the Company’s discretion unless the “cash dominion period” is in effect, during which cash receipts will be used to reduce amounts owing under the Credit Agreement. The cash dominion period is triggered in an event of default or if excess availability is less than the $3,600 for three consecutive business days, and will continue until, during the preceding 45 consecutive days, no event of default existed and excess availability has been greater than $3,600 at all times (with the trigger subject to adjustment based on the Company’s revolving commitment). In addition, in the event that “excess availability,” as defined under the Credit Agreement, is less than $3,000 the Company shall be required to maintain a minimum fixed charge coverage ratio of 1.0 to 1.0. The Company’s excess availability was $25,764 as of July 3, 2021. The Credit Facility matures on December 16, 2022.
Our Credit Agreement requires us to satisfy certain financial covenants which could limit our ability to react to market conditions or satisfy extraordinary capital needs and could otherwise restrict our financing and operations. If we are unable to satisfy the financial covenants and tests at any time, we may as a result cease being able to borrow under the Credit Facility or be required to immediately repay loans under the Credit Facility, and our liquidity and capital resources and ability to operate our business could be severely impacted, which would have a material adverse effect on our financial condition and results of operations. In those events, we may need to sell assets or seek additional equity or