Yes, it is within 30 days and you should get it back within 10 days or notified of any deductions.
You need to write and set out your losses and request a refund within 14 days from the date the letter was sent in the post, or say you will go to Court within 14 days. You should make sure you send this signed delivery and keep a copy.
If they do not refund you then you can issue proceedings in the County Court. You can either do this online at: www.moneyclaim.gov.uk or by completing form N1 https://www.gov.uk/government/publications/form-n1-claim-form-cpr-part-7 and take it to your local County Court.
The Court will then issue a claim which a copy will be sent to the Defendant who will have a limited time to defend it, if not you can enter Judgment and enforce.
If the claim is for £10,000 or less it will be a small claim so you will not need legal representation. Over this value, you would need representation for trial.
You could actually claim for x3 the deposit plus the return was it was not protected within the required time.
Can I clarify anything for you about this today, please?
If not, I would appreciate a 5-star rating for my answer, by clicking the button at the top of the screen. If you need anything further I am available for a follow up at no extra cost.