Text this: Optimal Navigation in Active Matter