The security company reported $3.44 billion in quarterly revenue and an all-stock deal for a platform that trains and runs open-weight AI models.