Family Law Questions? Ask a Family Lawyer Online.
This could be potentially devastating for you both. Unfortunately teenagers figure out that if they complain about "being safe" that they can get someone to let them move out of your home. They think it will be better somewhere else. The teacher, however, had absolutely no right to get involved, except to notify the proper people.
By all means go to court, and at the very least, your daughter needs some sort of counseling so she can understand what she has done and how much trouble she has caused. She could do this over and over again, jeopardizing your jobs, and reputation.
Be careful what you say in court. Ask to have the court rescheduled if necessary to get an attorney.