SAN FRANCISCO — Just weeks after the FDA demanded it stop marketing its take-home genetic tests, 23andMe Inc. now faces two consumer class actions, accusing it of marketing a dangerous product in violation of federal safety rules.

Until it received a “warning letter” from the U.S. Food and Drug Administration late last month, the genetic test maker had sold its DNA Saliva Collection Kit for $99, promising customers who mail back a sample of their saliva a breakdown of their risk factors for inherited disorders as well as detailed analyses of their ancestry.