This payment fits comfortably within recommended guidelines for your income.
Due diligence and earnest money are paid up front when you go under contract. They usually count toward your total funds, then get credited at the closing table, so they reduce your remaining cash to close.