Text this: Children's logical and mathematical cognition