Teenager granted bail after spending first two weeks in adult custody