period, stock compensation expense would be reversed. The awards are forfeited if the threshold performance goals are not achieved as of the end of the performance period.
During the thirteen weeks ended June 27, 2020, the Company did 0t grant any performance share units.
Stock-Based Compensation Expense
Stock-based compensation expense was $3.2 million and $1.8 million for the thirteen weeks ended June 26, 2021 and June 27, 2020, respectively. Stock-based compensation expense of $0.7 million and $0.6 million was recorded in cost of goods sold in the condensed consolidated statements of operations for the thirteen weeks ended June 26, 2021 and June 27, 2020, respectively. All other stock-based compensation expense is included in selling, general and administrative expenses in the condensed consolidated statements of operations.
As of June 26, 2021, there was $3.9 million of total unrecognized stock-based compensation expense related to unvested stock options, with a weighted-average remaining recognition period of 2.08 years. As of June 26, 2021, there was $7.0 million of total unrecognized stock-based compensation expense related to restricted stock units, with a weighted-average remaining recognition period of 2.69 years. As of June 26, 2021, there was $3.4 million of total unrecognized stock-based compensation expense related to performance share units, with a weighted-average remaining recognition period of 2.31 years.
6. Commitments and Contingencies
The Company is involved, from time to time, in litigation that is incidental to its business. The Company has reviewed these matters to determine if reserves are required for losses that are probable and reasonable to estimate in accordance with FASB ASC Topic 450, Contingencies. The Company evaluates such reserves, if any, based upon several criteria, including the merits of each claim, settlement discussions and advice from outside legal counsel, as well as indemnification of amounts expended by the Company’s insurers or others pursuant to indemnification policies or agreements, if any.
On May 8, 2019, Sheplers, Inc., a wholly-owned subsidiary of the Company, was named as defendant in a class-action complaint filed in the Superior Court of California, County of Los Angeles. Among other things, the complaint generally alleges deceptive pricing on merchandise sold in Sheplers’ e-commerce site. The estimated cost of the matter has been accrued as of June 26, 2021.
On February 27, 2020, one employee, on behalf of themself and all other similarly situated employees, filed a class action lawsuit against the Company, which includes claims for penalties under California’s Private Attorney General Act, in the Sacramento County Superior Court, Case No. 34-2019-00272000-CU-OE-GDS, alleging violations of California’s wage and hour, overtime, meal periods and rest breaks, and an alleged violation of the suitable seating requirement as per California Labor Law among other things. The complaint seeks an unspecified amount of damages and penalties. The Company intends to defend this claim vigorously. At present, the Company cannot reasonably estimate the loss that may arise from this matter, but has recorded as of June 26, 2021 an amount for the estimated probable loss, which is not material to the condensed consolidated financial statements. Depending on the actual outcome of pending litigation, charges in excess of such recorded amount could be recorded in the future, which may have a material adverse effect on the Company’s financial position, results of operations or liquidity.
The Company is also subject to certain other pending or threatened litigation matters incidental to its business. In management's opinion, none of these legal matters, individually or in the aggregate, will have a material effect on the Company's financial position, results of operations, or liquidity.
During the normal course of its business, the Company has made certain indemnifications and commitments under which the Company may be required to make payments for certain transactions. These indemnifications include those given to various lessors in connection with facility leases for certain claims arising from such facility leases, and indemnifications to directors and officers of the Company to the maximum extent permitted under the laws of the State of Delaware. The majority of these indemnifications and commitments do not provide for any limitation of the maximum