Grammarly secures $1B in nondilutive funding from General Catalyst