Input-Driven Languages are in log n Depth