Question: is of course a response to thank you?
Answer: Thank you. 'Of course' is polite and friendly here. It's like definitely, certainly. It emphasizes that what we're saying is true or correct.