logo queries