SAN FRANCISCO — In the five months since Thelen’s dissolution, the firm has managed to avoid bankruptcy and has paid down more than half of the bank debt that forced it to close, a firm representative said Wednesday.

But it now must contend with a lawsuit filed by former employees and certified as a class by a federal magistrate on Tuesday. Lawyers for the class say the suit may be worth up to $25 million.