<human>: Give me a shortened version of the text

My co-worker of one year expressed to me today that she misses having deep, intellectual conversations about society and politics. She proceeded to read a civil discourse/conversation that some of her alumni were having on facebook. My initial reaction was to say "They sound very pretentious." I meant this as a joke but she was offended by it. 

As we walked out to our cars, she then told me she hates how she feels she has to dumb herself down when she tries to be intellectual around others. She said "I don't like it when people just dismiss me as pretentious." Again, I joked "I didn't say you were, I said your friends were." 

I didn't tell her I was joking, and probably should've. We then went home, and she seemed annoyed. Should I apologize to her tomorrow? I do think she's felt that I've made light of her interests, and I feel bad. I should also mention that we've had a little bit of awkwardness recently because I expressed some romantic interest in her, and she didn't reciprocate.
<bot>: Made a poor joke about a girl's intellectual interests, didn't make it clear I was just teasing. How should I apologize to her? Should I text her soon or wait until tomorrow? Should I leave it alone?