дома is an adverb meaning "at home."

of course, the form did come from дом, just as another adverb, домой homeward, did.